Execute tests under BATS_TMPDIR, not inside the repository.
Eliminate super-collision-oriented variabled named TMP.

Tried to eliminate the screwing around with $HOME, failed.
Reduced hardcoding of paths.
Infer sbt version being tested from the test filename.