Initial Django 1.7 compatibility fixes. Fixes deprecation warnings as well.
Updated Django versions for travis build. Added Django branch 1.7.x.