Restructure for AngularJS.
First pass of migration to AngularJS.

No auto update of logs.
Detailed view of logs is broken.
Improve search form.
Implement "Show more results".
Implement polling again.
Improved error handling.
Implemented log page viewing in JS.
Cleanup.
Allow specifying database with an environment variable.
Dynamic page title.
Merge pull request #1 from embarkmobile/angular

Rewrite of the frontend using AngularJS