rvm-installer curl timeout

Using the rvm-installer to install and update rvm and ruby I have found that if the connection drops in the middle of a download, curl will hang.  This pull request adds a timeout / retry.