Add a config item external_hostname

This is the reported DB hostname when listing database entities through
the REST interface.

This way, db_host can be set to localhost, and it can report the created
database's host as something reachable from the network

This will resolve #41