Remove rails-only methods; response is invalid if key not found in response.

* try, present? are not in ruby stdlib
* In Connection#parse, use Hash#fetch to raise exception when key not
  found.  This is then rescued and "Invalid json response" is returned.