Added compatibility for Mongo replica sets.
Merge pull request #9 from Battlefy/feature/replica-set

Added compatibility for Mongo replica sets.