Make API functions use transactions
Make API functions use transactions

If an API function is called without an explicit call to
'litestore_begin_tx', a transaction will be created to cover the call.

If the call fails internally at some point, the TX will be rollbacked,
I.E. no partial writes will be saved.

mlinnosk/liblitestore,mlinnosk/liblitestore