Sync object pools in ReplicateRepository
This MR attempts to connect a repository to its object pool during replication. It relies on the fact that the object pool's repository should have been itself replicated through the replicator (since its repository is marked for replication in the protocol)
If the object pool's repository is not yet replicated, then it returns an error so that it goes back onto the replication queue to get retried.
Edited by John Cai