Moved case mapping support to the unicode directory. Some cleanups in cpmap.pl, use WCHAR instead of unsigned short.
Improved handling of undefined codepage characters.