mq: allow to apply patches in subdir of repo again
i broke it in
35caf437a201.
Add test mq keeping a reference to localrepo which can't remove journal on exit.
mq: do not hold a reference to repo in tags override
Instead, replace repo's class object with a subclass.