Fix Bug 881365 - Use app.locals for all the common data being passed to ...

...templates

https://bugzilla.mozilla.org/show_bug.cgi?id=881365