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

Your choice, but you could rip out the code to manually configure the replica set and instead use the configure_datastore_add_replicants action in openshift.sh