Media type negotiation should occur earlier in the decision tree (#122)

- Added decision that check the accept header between checking for
  malformed data and the handler for malformed data.
- This is a temporary fix until I can figure out the proper way to fix
  this
Merge branch 'bug/malformed-media-type'