require json in spec_helper

When running the tests outside of rake or bundler, the tests fail
because we don't require the json gem before calling `to_json`.
Adding .ruby-version and .ruby-gemset
Adding ruby 2.1.0 to Travis CI configuration.
Moved specs of API v1 and API v2 to separate files.
Moved shared contexts file to support folder and load it automatically.
Renamed to follow rspec conventions.

Removed whitespace.
Make clear where the variables come from.
Moved errors to a separate file.
Moved Room class to a separate file.
Moved Client class to a separate file.
Merge pull request #61 from ktdreyer/spec-json

require json in spec_helper
Merge pull request #64 from rodrigopinto/add-ruby-version-and-gemset

Fix ruby version and gemset and update Travis CI configuration
Merge pull request #65 from rodrigopinto/organize-specs

Organizing specs
Merge branch 'organize-hipchat-lib-files' of https://github.com/rodrigopinto/hipchat-rb into rodrigopinto-organize-hipchat-lib-files
Merge pull request #66 from rodrigopinto/organize-hipchat-lib-files

Separate class in files
Merge branch 'master' of github.com:hipchat/hipchat-rb
Fixes Issue #69, URI::encode V2 url that use room name
remove room_id in error logging from _rooms, update v2 url for room method.  Fixed issue #70
bugfix: Initialize Room class properly, when calling rooms method
Added private user message support for API V2.