Minor syntax changes.
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Updated Hungarian translation.
Extracted keycode constants from TermKeyListener
Added create and switch window/tab keyboard shortcuts

Switch forward with Ctrl+Tab, back with Ctrl+Shift+Tab
Create new with Ctrl+Shift+N
Added paste from clipboard shortcut (Ctrl+Shift+V)
Stop keyboard shortcuts breaking back key interceptor.

You can only have one key listener on a view,
see comments on pull #235.
Improved/Updated Norwegian translation
Update Simplified Chinese translation
Merge pull request #262 from Juansheng/master

Update Simplified Chinese translation
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.
Update strings.xml
Update arrays.xml
Update strings.xml
Translate more options
Add hashmap to map input key/scan codes with arbitrary modifiers to out seqs.

Currently used approach of using String[256] doesn't scale - the arrays are
sparse, while there may be need to handle various modifier combinations. For
example, cursor directional keys produce different codes for all combinations
of Ctrl, Alt, and Shift - 8 combinations total. So, just use hash table, but
be efficient and use integer as key value. Caveat with this approach is
exactness of much. For (abstract) example, suppose Ctrl+Shift+PgUp
combination is not supported, while Ctrl+PgUp is. Current implementation will
however output code for just PgUp, while it may make sense to output code for
Ctrl+PgUp (but that's not 100% sure).

Mapping of raw scancodes is also supported. There actually should be support for
reading user-defined map from an external file, then functionality implemented
here will allow users to perfectly support whatever keyboard they have on their
hands, regardless of Android version, regardless of whether some keys are
supported by Android or not, and whether that support broken or not.
Separate "application mode" handling for cursor keys vs keypad.

XTerm and other terminals have separate "application modes" for numeric
keypad block and cursor keys block. A-T-E mixed them together.

Implementation is complicated due to issue
https://github.com/jackpal/Android-Terminal-Emulator/issues/265 : Currently,
terminal emulation is not encapsulated to one class how it would be logical, but
instead split between TerminalEmulator and TermKeyListener. So, this patch adds
"side channel" between these classes to allow TerminalEmulator to control some
aspects of TermKeyListener directly, to avoid routing communication between them
across even more classes. Ideally, terminal-related handling should be refactored
from TermKeyListener into TerminalEmulator (so, TermKeyListener would only handle
receiving events from the underlying OS).

Reference: http://www.xfree86.org/current/ctlseqs.html

This will conflict with https://github.com/jackpal/Android-Terminal-Emulator/pull/266
Add XTerm alt buffer support ("\E[?47h"/"\E[?47l").

Alt buf is used by many fullscreen apps to preserve original contents
of the console. This implementation is pretty basic, but enough to run
Midnight Commander with proper switching between shell and panels.

Reference: http://www.xfree86.org/current/ctlseqs.html