SERVER-14370 Core functionality for setLastOptime and awaitReplication in ReplicationCoordinatorImpl