Avoid ~O(n^3) validation during polygon construction from GeoJSON.
Don't check loops twice when constructing an S2 Polygon
Merge branch 'next' into daniel_buf_ref_datum_2