Transactions, commits and rollbacks for leveldb/levelup databases