Fix django 1.6 compability by switching self.request.raw_post_data to self.request.body
Fix DeprecationWarning: Using mimetype keyword argument is deprecated, use content_type instead
Merge pull request #1 from anderspetersson/master

Django 1.6 compatibility.