Adding support for non-local database server

I have added support for non-local database server to the postinst script for atomiadns-database package. My code reads connection details from the existing configuration file. This has been tested today by upgrading City Network's live environment from schema version 76 to schema version 80.