[SGrid][Bugfix] Implement IndexSet::types() to avoid infinite recursion

When adding the types() method to the IndexSet facade, nobody
implemented the method for SGrid. As the SGrid implementation for the
IndexSet inherits from the facade, this created an infinite recursion.

Kudos to Christoph Grüninger for reporting the issue!