[WIP] HA with HAProxy

This is based on https://github.com/crowbar/barclamp-pacemaker/pull/11 but adds some stuff for haproxy support.

Opening the pull request just to get some review.