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).