pkgdb: api to get the list of keys
pkg: add pkg ls command