Add in-app authentication and authorization for login/logout

Closes #63 .

In this PR:
- Old login forms + project selection removed entirely.
- application.js contains to methods beforeLogin() and afterLogin() to initialize session variables
- util + tree wait to load until login fires
- i18n files cleaned up slightly to accommodate new selects.