Fixed order of app.use calls

Reordered the middleware functions that our app is using so that no
dependencies are broken (everyauth, for instance, after locals are set).
Also added some debugging options for development.
Removed views/home/login.jade

Wrong place