Export all TEST variables and move them into helper.sh.

* Set HOME in helper.sh.
* Renamed PROJECT_DIR to TEST_PROJECT_DIR.
* Use __shunit_tmpDir in the $PATH tests.