libpacman: Make pacman_trans_getinfo(PM_TRANS_PACKAGES) allways return PM_SYNCPKG.
libpacman: Make package installation and database alteration in 2 separated logical black.