[buildsystem,release] Generate cmake package configuration files with autotools
(cherry picked from commit 0b51e3c0fad4b736f92d628622895ae81cccbdc0)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[bugfix] Fixes stopping criterion and printout of RestartedGMResSolver.

Fixes flyspray https://dune-project.org/flyspray/index.php?do=details&task_id=1393
(not stopping if there is no convergence).
In addition each residual is only printed once now.
(cherry picked from commit d4e7f19891663d28a129506f51bc163fd6e415ed)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>