Adding getGeometryType function for Polygon type

Easy fix for https://github.com/bjornharrtell/jsts/issues/104