When running a single test output to stdout...

...so that automake logs test output properly to TESTPATH/TESTNAME.log,
separately for each test.  Also fixed some indentation.
Add autogenerated TESTS.am file to .gitignore.
Include TESTS.am to distributed tarball, since we generate it during autogen.sh.