Rework class SimplePolygonTree in GeoLib

This PR contains
- a test for class SimplePolygonTree,
- a bug fix.

This class is used within the GMSHInterface, i am working on at the moment.