Don't log received data char by char, log as a string.

One log entry per char doesn't scale to debugging real-world full-screen
apps - many log lines just overwrite previously logged content.
Log output codes produced by keypresses, symmetrical to logging input data.
Merge branch 'in-out-log' of git://github.com/pfalcon/Android-XTerm-Emulator into pfalcon-in-out-log