add django 1.7 support

Change HttpResponse mimetype to content_type