Tests for linestring/linearring construction

Test when constructing from LineString and add special checks
for when the line is unclosed
Merge pull request #1 from jwass/speedup_linestring_clone

Tests for linestring/linearring construction