eups.server.system: unset BASH_ENV to avoid interference with bash scripts

Otherwise, if the program being exec-ed is a bash script it will re-execute
$BASH_ENV again (setups.sh), resetting the EUPS_PATH.
EupsPkg: add bash function library for pkgbuild scripts