Workaround for Safari caching bug.

It appears that Safari 7 caches ignore the HTTP Accept header.  This patch
appends the content type to the url for all ajax calls.