(bug 43289) move repo-dependent CachingEntityLoader to repo, mark skipped test for client

Change-Id: If9e40a456d63029a6247365832f934cc9ff1c94d