Use new synchronization helpers to avoid races when deploying with HA

There are a number of possible races when deploying nova for the
first time:

 - when creating of the database / database user
 - when registering the endpoint and creating users in keystone
 - setting availability zones for compute nodes

This depends on https://github.com/crowbar/barclamp-pacemaker/pull/50