Fix for Django 1.7

HttpResponse mimetype was deprecated and replaced with content_type. Fix for issue #22