Avoid urls.defaults deprecation warnings
Support django 1.5's custom user model

Fixes #152