Get ready for HA in database and rabbitmq

This depends on https://github.com/crowbar/barclamp-database/pull/66