Adding getGeometryType function for Polygon type

Easy fix for https://github.com/bjornharrtell/jsts/issues/104
Merge pull request #141 from igrcic/master

Adding getGeometryType function for Polygon type