Load uniqueid into struct pkg
Compute rdepends base on the unique id
dependency loading now respect unique id
More uniqueid usage

Change annotate to conform unique id
Change pkgdb_unregister_pkg to use package id and to use package row id
Move stat to uniqueid