Add unix user arg to install.sh, test-installed.sh

and:
* update them to work from any cwd
* move them to ./scripts
* factor common code into ./scripts/main.sh