Make haproxy class handle more environments

the haproxy class was assuming rabbitmq and mysql were
present and placing itself before them. This patch modifies
that code to be via resource collections, which can
harmlessly return nothing if either of those resources are
not in the catalog.