check first and last ring positions

per [the spec](http://geojson.org/geojson-spec.html#linestring) the first and last members of a linear ring need to be the same positions.