upgrades the .rvmrc to ruby 2
extracts RestAdapter out of Rest module to clean up method pollution
extracts configuration into own class