Recreate grid selection macros from DUNE

This duplicates functionality from the old autotools implementation
in case any user code needs it. It is not necessary to build the
OPM modules themselves.
Check for constexpr attribute
Check for tuple support
Merge pull request #184 from rolk/184_constexpr

Probe for more C++ features that are used to conditionally disable source code in configuration
Merge pull request #182 from rolk/181_opmgrid

Recreate grid selection macros from DUNE