Improve Solaris support
Add __rvm_readlink, __rvm_patch functions
Update system on Openindiana. Handle no package updates
Remove make from gnu_utils and add it to requirements
Remove patch from gnu_utils as it's not needed for rvm installation. Refactor other __rvm_ functions definition
Add curl as requirement for Solaris 10
Remove bash from configure call as it breaks if there are prepended environment variables
Use CSW curl on Solaris 10
Use CSW sudo on Solaris 10
Add __rvm_cp
Replace patch in pkg
Beautifying code
Merge upstream
Merge remote-tracking branch 'upstream/master'
Put JDK requirement back
Add system version detection function
Fix Solaris 10 jruby requirements
fix deleting default alias
Merge remote-tracking branch 'upstream/master'
Call __rvm_detect_system right after declaration