Initial Django 1.7 compatibility fixes. Fixes deprecation warnings as well.
Updated Django versions for travis build. Added Django branch 1.7.x.
Merge pull request #165 from KristianOellegaard/django-1.7

Django 1.7 compatibility fixes.
Closes #154, #155.