Cmake improvements

this adds some new CMake modules, and adds tests for dune stuff which was underexcercised by modules other than eWoms...