add kvdump which dumps the database as cdbdump would do

To be able to see into the db for inspections.
The best would be incorporating this into kvaudit, which opens the db readonly - but I don't know enough of lldb for it.