Detect if curl or wget is installed
Use 2-space indentation for consistency
Fix for running with bash, sh, and zsh
Merge pull request #370 from jpadilla/patch-1

Detect if curl or wget is installed to download NVM_SOURCE