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.

(Paired with @benilovj and @rgarner on this, ish.)
these are two distinct cases and would be good to specify separately