functions.sh: fix 'set_env_var' to deal with spaces etc in supplied value.
install_ucsc_tools.sh: significant updates to use wrapper functions; also add 'userApps' to make targets.