Changed verbose logging to only be set on console logger when development mode
Added id to app
Makes it easier to debug when trying to figure out which instance code is running on
Added sha512 string encryption method to util
Changed module creation to apply the api & page routes from the module to the server.
Added a module shortcut to app.db
Tweaked parameters to expand test coverage
Changed how 'open' is mocked in tests
Removed api key from config, it'll be a per-user setting instead
Moved SIGINT and SIGTERM handling out of module
Let the entry function handle it instead
Changed asset hash generation to be a choice
Simplified filtering in asset pipeline a bit.
Fixed some small bugs
Tweaked express app pipeline
Api key verification will be handled by module instead
Added proper 404 and other error handling to pipeline.
Simplified close of HTTP server.
Just let the shutdown continue, don't mind open connections.
Added api & user authentication to main module
Added basic api routes
Added basic page routes (login etc)
Added basic assets (angular & foundation)
Fixed linting errors