Adds test and fix for redneckbeard/gadget#7

The Content-Type of the response should match the Content-Type of the
request provided the app supports that MIME type.
Merge pull request #8 from ChuckHa/custom-response-content-type-bug

Adds test and fix for redneckbeard/gadget#7