Replace deprecated geomTypes() by types()
Use iterators to loop over the geometry types returned by IndexSet::types
[cleanup] Use YaspGrid for testing, instead of deprecated SGrid