Load settings before server startup

Since our settings are in the database,
getting them is an asyncronous process.

Since we're getting settings from the
database at startup, our startup process
has to deal with that async nature.
Settings: Create random session secret

Make a uuid for the session secret and
keep it in the database if it doesn't
exist, on server startup.

This should be refactored at a later time.
Refactor: Make sessionSecret init less ugly

It's still ugly, but less so.