Add new replication helper.

Add a new provision mechanism for testing replication which sets up 3
way replication, with two of the nodes running bidirectional sync.