- added check for invalid types in style files.
Execution stops when a wrong type is found and the style is not read
by the --check-style option.
- allow writing 0xYY00 instead of 0xYY in lines and polygons file

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/trunk@2932 25d90789-57f7-4ee0-8453-03a3dfeeeb22
- change unit tests to use only allowed types
- don't allow 0xYY00 for lines, only for polygons
- allow any type for lines when overlays are available 

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