Extract class rpm_evr

This allows us to hide the rpmlib dependency.
Correctly disable RPM caching for --download-rpm

We were using both the disk-based cache and the database cache.
Turn package_set_consolidator into a class template