[cleanup][Topology] Remove use of Topology classes in favor of GeometryTypes.
This is a shorter version of !412 (closed) to first fix the obvious things and then look into the locafunctions problems.
Edited by Robert K
This is a shorter version of !412 (closed) to first fix the obvious things and then look into the locafunctions problems.