Fix to ensure multiple content-types don't get added to request header

Fix to ensure multiple content-types don't get added to request header when specifying a header of type "Content-type" through the AJAX functions.

Note: multiple content-types were only getting created in Chrome as far as I could tell (firefox and fiddler reported a single content-type).