Add prepare_role_for_ha helper to PacemakerServiceObject

Some barclamps might enable HA without using haproxy (for a service that
must run in active/passive, for instance).
Merge pull request #26 from vuntz/prepare_role_for_ha

Add prepare_role_for_ha helper to PacemakerServiceObject