Implements user tokens component in edit profile.

* Break out edit profile page into components.
* Enable dynamically loading user emails on the edit profile page.
* Implement user tokens component on edit profile page (loading, renaming, revoking).
* Move API methods to an API package.
* Use JSON for POST/PUT methods.
* Add a TEMPORARY login route to avoid the hassle of email logins during dev.
Move debug routes to their own controller.
Updates Authorized filter to take result parameter.

The result parameter defaults to the `Unauthorized` result, but may be manually
specified at the controller method level to send a custom result.
Secures most pages, adds user json to output html

Most urls routed through the Application controller are now secured, and
redirect to the index if an unauthenticated/unauthorized user attempts to
access them.

User information is rendered to the html output as a json object, so we can
easily see at the JS level if we have a current user.