django 1.7 compatibility

Using get_user_model no longer works at import time, more details:
https://docs.djangoproject.com/en/dev/topics/auth/customizing/#referencing-the-user-model
https://code.djangoproject.com/ticket/22872