[PLAT-3579] Update unix scripts

Deal better with directories that include spaces.
Add option to run-tool.sh to run inside the installation directory
instead of the current directory.