Coded and tested the command line tools.

Left newsstanddb-getdbfile as a hacked workaround
Updated developer reference