Implemented rvm() method
Changed check of ruby version arg and added sample for generated XML
Merge pull request #69 from jabbrwcky/JENKINS-18709

JENKINS-18709: Support for RVM environment