libpacman: Move _pacman_splitdep next to _pacman_depcmp, and const'ify package constraint string parameter.
libpacman: Move _pacman_sync_prepare to trans.c
libpacman: remove now unecessary prepare transaction operation.
libpacman: Reorganise logic in _pacman_checkdeps, and some helpers functions to check depend satisfaction.