Error with a 415 code if the Content-Type is not application/json

- This uses a `before_filter` in ApplicationController to check
  Content-Type, leaving `respond_to` to deal with the Accept header.