Upgrade django-browserID to 0.10.1
Simplify module loading in template
Fix some tests to be compatible with python3