Log JSON returned by TastyPie if HTTP response code indicates a problem.
Changes to TastyPie API required by MyTardisFS.
Merge pull request #20 from wettenhj/master

Changes to TastyPie API required for MyTardisFS