Intersections

Not ready yet.

### Done so far (not fully tested):
- fixed segment intersections
- convex hulls
- closest point to segment

### todo
- fixed cubic segment trace using Bernstein solver
- write tests for all new functions
- deal with bounding box trace

Also added `ToPath` class.