restrictons2-v4.patch:

Compared to r3194 it fixes some errors and adds new checks:
1) only these well documented restrictions are evaluated:
no_right_turn, no_left_turn, no_u_turn, no_straight_on,
only_right_turn, only_left_turn, only_straight_on,
no_entry, no_exit

2) to-ways that build a loop so that first and last point end at the 
via node are now supported if the restriction contains a 
direction info (left, right,...).

3) Further plausibility checks are performed to find restrictions
where the angle of the from and to way don't match the direction 
info, for example when a no_right_turn looks more like a no_left_turn.
If the angle doesn't match, a warning is written and the restriction is
ignored

4) Restrictions with multiple via ways are now supported as well
as via ways with additional nodes. The new limit is given by the
img format: it allows to specify a "path" with up to 8 routing 
nodes.


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