Add Transaction class to SqlitePostDb to allow easier management of transactions.