Made migrations compatible with custom user models in Django 1.5+.
Merge pull request #8 from ixc/master

Made migrations compatible with custom user models in Django 1.5+.