initial PShape implementation for JAVA2D
cleanup and sanity checks
PShape of type GEOMETRY is treated the same as PATH when drawing.
Merge pull request #2756 from galsasson/pshape-java2d

PShape for JAVA2D