add check to make sure that all ways that are referenced in 
a restriction relation have at least two points and that first and
last point are not identical. Print warning if the check fails and
ignore the restriction.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/trunk@3179 25d90789-57f7-4ee0-8453-03a3dfeeeb22
- don't merge via nodes with boundary nodes in WrongAngleFixer
- don't merge end points of a way if way has only two points, even 
if they have highPrecEqual() coordinates. These ways may be created 
by the LinkDestinationHook.
- print error message if a way that is referenced in a restriction is outside of bbox, but was (partly) inside before WrongAngleFixer 
was executed.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/trunk@3180 25d90789-57f7-4ee0-8453-03a3dfeeeb22
adapt expected TRE size in unit test

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