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