make it compile on what will become DUNE 2.3

for this module some deprecation warnings are produced, but it
compiles. these warnings can be avoided once the DUNE_VERSION* macros
are available.
Merge pull request #62 from andlaus/dune23

make it compile on what will become DUNE 2.3