Various fixes
* Browserid final fix.
* Total jinja2 migration.
* Various bug fixes.