get tests running in django 1.7
Use content_type instead of mimetype for Django 1.7, fixes wkt and kml in Django 1.7