libpacman: Move pmsyncpkg_t addition to the end of pmtrans_t::add, so it gets allways added with every transaction type.
libpacman: Cleanup __pmtrans_t destructor.
libpacman: Add trans_t::empty to vectorise empty change set detection.