Intelligent pkgdb2 cache invalidation.
Merge pull request #22 from fedora-infra/feature/pkgdb2-cache-invalidation

Intelligent pkgdb2 cache invalidation.