gnulib-tool: Support different basenames for the lib/,tests/ Makefiles. * gnulib-tool: New option --tests-makefile-name. (tests_makefile_name): New variable. (func_import): Add support for --tests-makefile-name. Replace local variable makefile_am with two local variables source_makefile_am, tests_makefile_am.