Add generic script to initialize a node for Postgres cluster

A master, or a slave can be created. Cascading replication is also supported
with this script.