[DO NOT MERGE] Initial commit of refactor. Still contains old code.

You should only need to set CONF_ACTIVEMQ_REPLICANTS to a comma separated list for the proper configuration to be done.