Reduce reliance on dune

Note that this series depends on OPM/opm-core#344 because opm-material uses the className function in some (peripherical) test. If there are no objections, I will merge this once OPM/opm-core#344 is accepted and I will push the cmake change to all other modules, too...