Merge pull request #32 from daniboy/master

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