Fix usage of deprecated 'mimetype' parameter for HttpResponse.

Django renamed the 'mimetype' parameter to 'content_type'. This change updates
our usages of it.

Testing done: Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/6256/