distcheck: (minor): detect symbolic links left after uninstall.

* lib/am/distdir.am (distuninstallcheck_listfiles): include symbolic links, including dangling links, in the search.
* t/distuninstallcheck-symlink.sh: new regression test.
* t/list-of-tests.mk: register it.
* doc/automake.texi (distuninstallcheck): document the symlink check.
* NEWS: mention the fix.
5 files changed