Fix complaints of recent autotools version regarding srcdir in
	TESTS.
	* configure.ac: Generate tests/Makefile.
	* Makefile.am: Add tests to SUBDIRS and move TESTS to tests/Makefile.am.
	* tests/Makefile.am: New file.