Merge pull request #1 from segv/transactions

bug fix in ensure-transactions; refactor with-logical-transactions
Fix call to with-savepoint in save-dao/transaction to work with new api.