Feature/1 django 1.7 compat

This is actually more of a Django 1.5 compatibility PR. But it's not until 1.7 that simplejson is removed from Django and things really start to hurt.

I've tried to keep backwards compatibility with Django < 1.5, but this has not been tested.