R57: Add array heads.
Add MgSegmentCallback and scanSegments().
Add GiContext.setStartArrayHead().
Add bezierPointDistantFromPoint, bezierIntersectionWithLine and cross2LineV.
Add doxygen notes.