Track the last query run to facilitate debug.
Added DepositAdd and DepositMod.
Use a transaction when initializing the database.
Add basic support for DepositQuery.
Use the map array provided as basis for sql_map.
Treat 'no object found' info codes as empty sets.
Added JournalEntry. Adjusted DepositQuery.
For adds, ignore modify since tz or clock might not align.