Move RVM logic to a separate module

This way we can add RVM to other languages, like Objective-C for
RubyMotion projects.
Add RVM key to RubyMotion projects