If we have a replica set, set write-majority

Work in progress. Need to work out how to test this.