Added support for replica set
Updated mongoose to 3.8
Merge pull request #325 from codecombat/replicaset

Implemented automated failover and updated mongoose in package.json