Replaces mimetype= with content_type= in calls to HttpResponse, updated for Django 1.6+

The mimetype parameter was renamed to content_type between Django 1.4 and 1.5, and Django versions prior to 1.6 are deprecated (iinm)