Geometry: Replace boundsForPolyline and boundsForPolygon with a class specific versions
Geometry: Remove lineBounds

This function is superseded by the RectangularBounded class.