Dune 3.0 compat

Make the code compile with dune-3.0. Mainly the method leafView was changed to leafGridView. 
This is now used in the examples. For backwards compatibility the method leafGridView was added in case dune 2.2 is used.