adding platform support for ruby 2.1

* added new platform and ruby version helpers
* updated man file and tests
Merge pull request #2647 from brandonblack/ruby-2.1-support

Adding platform support for Ruby 2.1