libpacman: When adding a pmsyncpkg_t to the transaction also automagically add the correct package to the packages member variable.
libpacman: Remove some unecessary code.
libpacman: Use pmtrans_t::find to test for package presence in pmtrans_t::add.
pactest: Add 3 tests for dependency test pacman-g2 command (-T).