Make django-dajaxice compatible with Django 1.6

I've tested these changes on one of my own Django 1.6 projects, and everything worked out well. Even so, you should run these changes through Travis, just to make sure I didn't break anything.