fix HgRepo.ancestor when revs are unrelated
fix SvnRepo.ancestor when revs are unrelated
fix GitRepo.ancestor when revs are unrelated
rework unit tests
make SvnRepo branches and tags directories configurable