[CMake] Make sure to actually call the new decltype and __typeof__ tests for cmake

Thanks to Andreas Buhr for reporting the problem.
[Typetraits] Dune::conditional has moved to dune-common

Looks like Oliver had the same idea I had at the same time and
implemented conditional in common, so we can get rid of it here.