Kb/msys/unicode console input

These patches should fix the Unicode line editing issues in msys bash for most users (see http://groups.google.com/group/msysgit/browse_thread/thread/f365e1c841beef62 ).

The major part of the patch series was backporting the multibyte to wide char conversion functions from newlib 1.20 / cygwin 1.7 to the current msys.dll (based on newlib 1.9), so that bash could be compiled with multibyte support.

I'll send another pull request for the devel branch (binaries only).

Cheers,
Karsten