Added Polygon and MixedPath

Also some more methods in some of the other geometry classes. Not all
ported methods have been fully tested yet.