Replace `which` which produces inconsistent results
Replace `which` which produces inconsistent results

`which` is not consistent with its result codes across different
implementations. Use the posix `command` keyword to determine if curl is
available.

Use wget when curl is not available.

Fixes #31

app-registry/helm-plugin