Added wrappers for pgsql:with_transaction.
Merge pull request #1 from miranetworks/with_transaction

Added wrappers for pgsql:with_transaction/2. Thanks, Chris :)