Update pinentry to use PEAR tree's PHP include path and fix package.php

Update pinentry to use PEAR tree's PHP include path. Fixes issue when Crypt_GPG is installed to a local PEAR tree. Also fix the package.xml install location and replacements for the pinentry.