libpacman: Add pacman_get_handle to help source migration.
libpacman: Add pacman_get_trans.
libpacman: Fix pacman_download_source_tostr API.