CRM-15674 - A fix for the content type of json API results.

----------------------------------------
* CRM-15674: Content type for json results should be application/json
  https://issues.civicrm.org/jira/browse/CRM-15674