DATACMNS-588 - Refactored to use new RepositoryInvoker API.

Refactored RepositoryPersistenceCallback to use new RepositoryInvoker API. Added some unit and integration tests.