[autotools] Add AC_PREREQ autoconf version test for dune-common.

Update minimal required versions to these mentioned in the documentation.
Quote argument in AC_PREREQ.
(Thanks to Bård Skaflestad for the heads-up)
(cherry picked from commit 4f60c2ab5626870b53055e33cf14e4e8aa6627b4)

Signed-off-by: Christoph Grüninger <gruenich@dune-project.org>
[CMake] Add test target for module sub-directory named "test".

Previously only dune-foo/bar/*/test worked.
Now dune-foo/test works, too.
(cherry picked from commit 0fea3964069ced1c07977606a5cdabd553088b58)

Signed-off-by: Christoph Grüninger <gruenich@dune-project.org>