doc fix
prepare some utility function to handle DB object
new `esqlite-stream-with-transaction' macro
improve macro definitions