switch to --progress-bar in curl
make sure rvm_is_a_function can be checked also in subcommands
do not do curl --progress-bar when rvm is not a function
Merge pull request #1474 from wayneeseguin/bugfix/curl_hanging_chef-rvm_136_and_157

try to fix curl problems