Added wrapper for transaction so the reliable connection isn't lost
Tidied up transaction wrapper code according to coding conventions
Added a test that ensures a connection returned from a transaction is reliable
Merge pull request #12 from MRCollective/transaction-wrapper

Transaction wrapper