Use helper from database cookbook to get database IP address

This way we're ready for when HA will be used for database.

This depends on https://github.com/crowbar/barclamp-database/pull/66