Add draft replicate template for node.
Add editor module to handle editing documents.

And add the logic to the replicate module to fetch the configured
database name used for replication and verify it exists using a head
request.
Add logic to save replication documents using the repl add command.