Fixes custom user model south funkiness.

If a custom user model uses `db_table` attribute, it messes up oauth2's migrations. Account for this possibility, and other customizations.

Further reading: http://kevindias.com/writing/django-custom-user-models-south-and-reusable-apps/