New border generation system - initial tests.

A new border generation system that reduces the border data to 2 bytes
per tile.