[#1] Replace User model with get_user_model() calls

This fix is not compatible with Django 1.4 and lower I believe. Also I have not run the tests, so there may be issues there.