Allow to set replica options.
Merge pull request #150 from zeezooz/replicaset_configuration

Allow to set replica options.