Add a helper to get the listen address of the database

This will be used by other cookbooks from other barclamps to get the IP
address of the database, and this can then be changed when we add HA.