Synchronise build system with OPM-Core

This change-set synchronises the build system with that of opm-core.  In particular, we introduce the notion of a `files_hook()` in module `OpmLibMain.cmake` that allows (conditionally) modifying the list of files that will be built, just prior to the final definition of the build targets.