Set Content-Type to 'application/json' for wildcard HTTP_ACCEPT

The Content-Type HTTP header should be set to application/json if HTTP_ACCEPT has application/json or is */*
Merge pull request #87 from cjsewell/patch-1

Set Content-Type to 'application/json' for wildcard HTTP_ACCEPT