Use attribute from rabbitmq node to get rabbitmq IP address

The rabbitmq cookbook saves the IP address used by rabbitmq to listen,
so no need to do some fancy thing to get it.
Use helper from database cookbook to get database IP address

This way we're ready for when HA will be used for database.
Merge pull request #197 from vuntz/db-ha

Get ready for HA in database and rabbitmq
Update db password migration script to remove node attributes

On update, we want to use the db password from the proposal / role, and
not the one that might have been generated on the node (through the
cookbook). As the password is a "normal" attribute on the node, but a
"default" attribute on the role, the old one from the node is used.
Which means we really need to remove it to get the new one used.

To minimize config changes, we actually import the password from one
node (which should be good enough in most cases as we allow only one
glance proposal, so only one node should have the password).
Use new synchronization helpers to avoid races when deploying with HA

There are a number of possible races when deploying glance for the
first time:

 - when creating of the database / database user
 - when registering the endpoint and creating users in keystone
Simplify "glance-manage db_sync" call

It's unclear why we had two resources for that, as this is really not
needed.

Also, do not run this for SUSE, where the init script takes care of
this.
Also use crowbar_pacemaker_sync_mark to protect db_sync call
Use crowbar_pacemaker_sync_mark to protect upload of images
Merge pull request #199 from vuntz/drop-db-node

Update db password migration script to remove node attributes
Merge pull request #200 from vuntz/sync-marks

Use new synchronization helpers to avoid races when deploying with HA
Manage glance services via pacemaker clone LWRP

Clone the group, not primitives; registry service is started before api.
Merge pull request #198 from jsuchome/clone

Manage glance services via pacemaker clone LWRP
Add insecure flag to keystone_authtoken config when required
Merge pull request #201 from rhafer/keystone_insecure

Add insecure flag to keystone_authtoken config when required
ha: Follow convention for pacemaker resource naming
ha: Do not pass is-managed / target-role meta when creating resources

We are happy with the default values.
Merge pull request #202 from vuntz/ha-convention

Update pacemaker resource names + other conventions for HA
ha: Add missing sync marks when creating pacemaker resources
Run "glance-manage db_sync" on SUSE when HA is enabled

So far, we were not running it because the init script on SUSE does run
it. But with HA enabled, the service starts at the same time on all
nodes, which may result in failures on some nodes because db_sync can't
be run multiple times simultaneously. The end result is that the
pacemaker resource was possilby failing on some nodes, which then
required some manual cleanup.
Merge pull request #203 from vuntz/sync-marks

Add synchronization marks around the creation of pacemaker resources