[indexset] replace method geomTypes by types

As decided in Berlin, index sets will now return the geometry types in
their domain by value. The new semantics is implemented by the method
"types", whose return value is exported as Types (default: std::vector<
GeometryType >). The old method "geomTypes" has been properly deprecated
and the tests have been adapted.