added tests for content type checking
return application/json content type in case of error
Merge pull request #231 from masci/client_credential_contenttype

Wrong Content-Type header returned by client credential grant