fixup hash computation
remove -tcmalloc from Makefile
load package file lists lazily

Only load the list, if needed, when compiling the database. This is
more efficient, especially when there are many versions of a package in
the pool. We don't need a file list for every package.