fix(compat): adds compatibility for Django 1.5+

This adds a compatibility layer for custom User models that was
introduced in Django 1.5 by simply sourcing the User model within a
version conditional. The migrations have been updated to utilize this
compatibility update, as well.