enforce ruby version and add rspec as dev dependency in gemspec
check for view API error states on requests and raise exceptions accordingly
Merge pull request #2 from brettg/http-errors

Raise exceptions for known API error states