Fix for Django 1.7. HttpResponse mimetype was deprecated and replaced with content_type.

Signed-off-by: Ilya Baryshev <baryshev@gmail.com>