exposed _tranbegin, _trancommit and _tranabort
Merge pull request #4 from domsj/expose-transactions

exposed _tranbegin, _trancommit and _tranabort