Made some methods public (Point2D, JsonCursor). Bug fixes for internal tests. Added a new unit test.

Need Point2D public. Need JsonCursor public. Found bugs with handling of
the attributes (Zs and Ms). Added proper unit test. Found a bug in
Clipper.