Add the function st_makepolygon to create a polygon
Improve unit tests
Fix error message
Merge pull request #270 from ebocher/makePolygon2

Add the function st_makepolygon to create a polygon from linestring(s)