make sure that returned shapes begin and end with identical points
This has an influence on routines like BoundaryRelation.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/trunk@2885 25d90789-57f7-4ee0-8453-03a3dfeeeb22