SERVER-14436 Introduce ReplicaSetConfig type, with validation tests.