Django 1.7: Fix django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.

Django 1.7 raises this exception when calling get_user_model() at module level in models.py