transactions: avoid late tear-down (issue641)
We use weak references (ugh) to avoid having to manually delete
transaction references out of each call frame when an exception occurs.
% Without -vaccess log created - .hg/hgrc respected% With -vlistening at http://localhost:20064/