test suite, copy over improved test suite from atem

Now our test suite equals to atem bff04492 minus the option parsing section
(because here they are parsed by ut-test binary).

The tests still need to be fixed and we have to re-add missing feautures (
REFFILE, hexdiff, CDMFILE, multiple SHA1 sums)
test suite, re-add missing features

In the previous commit we removed these features:
 - REFFILE support
 - hexdiff
 - CDMFILE suport
 - multiple SHA1 sums

Also $husk was unintended renamed to $HUSK.
tests, fix REFFILE path
tests, fix renamed TS_EXP_EXIT_CODE variable
tests, fix renamed OUTFILE variables
tests, fix renamed TS_EXP_STDOUT variable
tests, don't use mktemp to create CMDFILE
tests, remove more mktemp calls
tests, add clean rule for local tempdirs

They are not automatically removed when test fails.
tests, don't use useless option --hash
tests, test suite is running in parallel again

This reverts commit 105364f363e979b8f95093d58bd9bb21d8f98f54.
tests, hack copying non-writable files fails (make distcheck)
Merge remote-tracking branch 'rudi/tests' into next

# By Ruediger Meier
# Via Ruediger Meier
* rudi/tests:
  tests, hack copying non-writable files fails (make distcheck)
  tests, test suite is running in parallel again
  tests, don't use useless option --hash
  tests, add clean rule for local tempdirs
  tests, remove more mktemp calls
  tests, don't use mktemp to create CMDFILE
  tests, fix renamed TS_EXP_STDOUT variable
  tests, fix renamed OUTFILE variables
  tests, fix renamed TS_EXP_EXIT_CODE variable
  tests, fix REFFILE path
  test suite, re-add missing features
  test suite, copy over improved test suite from atem