Introduce CleanupIfOutsideTransaction, extracted from IAGD
Javadocs for resource management of transactions and resource iterables