Add a very simple "osdb" command

This is mostly to test the lib, and try to clean up some of the current
code w/ a "real-world" application.

Signed-off-by: Arnaud Berthomier <oz@cyprio.net>