Added better txn support to helix websql and improved handling of transactions in the persistence layer.