Templatize the setup of HAProxy

Adds templatization to the haproxy configuration file so that both PXC
and controller nodes may be set up in the same file, and that the
writing of the config file is driven by group variables instead of
hard-coded.