* Fixed a few minor bugs (which never surfaced in normal operation -
only  after introducing RepoToRepoSync.TEST_INVERSE).
* Improved performance of local sync by caching Directory entities in
FileRepoDAO.