__rvm_detect_system refactoring

Call __rvm_detect_system right after definition. Change all uname calls to variables provided by __rvm_detect_system