replace hashtable with alpm's pkgcache
fix new archive reader
borrow more libalpm plumbing now
add TODO