Adds code to properly handle errors in the response received back from
the Hanlon server correctly (will throw an error rather than trying to
handle the HTML that comes back from the server as if it were JSON)
Merge pull request #67 from tjmcs/tb/handle-http-not-found-error

Fixes #68 (RESTful errors not handled properly)

Thanks, everyone!