shared: Add function to create an empty db file

Add direct function to create an initialized, empty db file and support
for the gdbm backend wrapper to actually create the db file for gdbm.
cli: Add command to create empty db file