change the deprecated mimetype argument of HttpResponse __init__ method into content_type to be compatible with django>=1.7