Add connection recovery support (also fixes timing bug after restart)

New connection to mogno replica set may fail, especially after service start due to service delay. Current code doesn't handle and might not even detect the problem (ReplSetConnection.New might succeed even if the connect failed).
The fix verifies the connect succeeded and in case of ConnectionFailure retries the connection for several times.