Add templates for replica and replica source

This patch adds templates for replica and replica source.
Previously this was hard coded in the code. This gives
deployers the ability to customize their replication
configurations.

Closes-Bug: 1370125

Change-Id: Ie1b4cff1685d2577240eb43ffecac3c977ba964c