configure.ac: Set ENABLE_THREADS=yes when threads are enabled.

configandwatch_test.at: Skip when threads are not enabled.

thread_test.at: Ditto.

.travis.yml: Print tests/testsuite.log on failure.

*: Regenerate.