Update ruby version and use new .ruby-version config
Update specs to Rspec 2.14 syntax
Require json instead of JSON