Add support for replica sets
Merge pull request #58 from manover/add_replicaset_support

Add replicaset support