Added contentType to ajax helper options

If the contentType is specified in the ajax helper options, then it is used when making the ajax request.

In response to #492.