rvm_gpg_command: allow for paths with spaces

http://stackoverflow.com/questions/27139387/rvm-results-in-bash-no-such-file
merge #3161: rvm_gpg_command: allow for paths with spaces
sign the installer, update #3161
copy the #3161 fix to scripts/functions/cli