~emersion/drmdb

ref: e081ab2f41e4b3b4c5d53b9fe319bc4827a2564e drmdb/database d---------
Tweak logging
Move database functions to a separate package