When setting up replicasets if a connection error occurs then display the exception why we could not connect to the mongodb.
Fixed error checking. Only errmsg should be checked for error. For example {"ok"=>1.0} is a successful result, but it triggered the error in the previous version.
Merge pull request #138 from nightw/master

Replicasets configuration fixes and some small small tweaks around error handling and displaying