Add fix and tests
Use underscore method for Invalid Data error message
Merge pull request #1 from alexjg/fix-put-missing-data

Invalid put requests with Accept not set to json cause 500 error