Make version numbers for DUNE prerequisites available

This changeset is a follow-up to opm/opm-core#297. It makes available the version numbers of DUNE components (e.g. DUNE_COMMON_VERSION_MAJOR) . It is then possible to do different things in code depending on whether you have DUNE 2.2 or 2.3 available.