Manipulate PATH for tests using scripts in ./bin and ../r/bin

Obtain version number from git