Merge pull request #8 from alphagov/update-controllers-with-new-resources

Update controllers with new resources
Add spec for malformed JSON

The default rails middleware (ActionDispatch::ParamsParser) handles malformed
JSON in the way that we need (returning status code 400). The only nuance is
that the rails testing hooks appear to raise exceptions rather than return 400
in this case, making the spec less clear than it could be.