Bugfix in pwiz.
Updating some tests in pwiz.
Small cleanups in transaction code.
Support for nesting transactions (not nest*ed* transactions)
Testcase for new transaction code.