fixed polygon and multipolygon from geojson

Polygons in GeoJSON append the first vertex in order to close the polygon. When you create a polygon from GeoJSON it looks ok but if you edit it you realize that there are two vertex in the first point.

This fix removes last vertex from polygons and multipolygons