[algorithms][for_each] fix bug in for_each_segment for open geometries
without using the closeable_view (so that mutable geometries can also
be supported)
[test][algorithms][for_each] add test cases for open geometries (open
ring, open polygon, open multipolygon)
Merge pull request #150 from mkaravel/fix/for_each-alternate

[algorithms][for_each] Alternative fix