Class for working with a MongoDB replica set.
Creates the ReplicaSet using the given server addresses.
Destroys the ReplicaSet.
Tries to find the master MongoDB instance from the addresses passed to the constructor.
Returns the Connection to the master, or null if no master instance was found.