Cache generated checksums

This patch will speed up the cache generation significantly, by caching md5/sha1/sha256 checksums of packages.

We also ignore these generated files when working through available packages in apt_cache()