handling error responses better
Cleaning up the web request and response
Merge pull request #52 from ramittal/master

Merge handling of schema validation errors