Add support for Django custom user in contrib auth

If you use a custom user model in Django 1.5, this package fails. This patch fixes that issue and is backwards compatible for Django 1.4 which doesn't have ``auth.get_user_model()``.

Please merge and push to PyPi.