Django 1.7 compatibility

Here are some quick and easy fixes that get django-authority running on Django 1.7.

There may be more silent bugs that haven't manifested yet, but this is a good start and doesn't break compatibility with older versions.

Cheers! :wine_glass: