Started on transaction infrastructure for supporting collection of
indirect side effect backward transactions.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>