Added Ctrl-u to readline

Based on suggestion from Sebastian, see issue #416. Fixed several issues
(multibyte, \0-termination) and refactored readline code while I’m at
it.
Merge remote-tracking branch 'upstream/master'