Add 'setup database' section to README
Log exceptions for db initialization to stderr
Set environment to production

Avoids fancy error pages showing up.
Extract logger class