rpm_parser_state::impl::get_header(): normalize RPM architecture

Some really old packages still use i386.
Load RPMs in separate transactions

Only the package set update itself is run in a big transaction.
package_set_consolidator: new class
Use package_set_consolidator to omit old versions