Django-1.7 support

This PR makes the necessary changes to support REUSE_DB=1 on django-1.7 without regard for backwards compatibility.