Allow errbit's own port to be configured.

This allows errbit to generate correct links in notifications when errbit is
served over a non-standard port.
Merge pull request #624 from humanpractice/configure_errbit_port

Allow errbit's own port to be configured
Replaced MongoDB with Postgres and provided a path for migration
@wip