Transaction context manager.
Merge pull request #3 from ninowalker/redding-transaction

Transaction context manager.