CMake rollup

Contains relevant bits from OPM/opm-core#224, OPM/opm-core#225, OPM/opm-core#226, and OPM/opm-core#228