Squash updates from jackpal

- https://github.com/jackpal/Android-Terminal-Emulator/commit/685e9fcac6cd4eff24c7f1bef4fe406b937dddd9
- https://github.com/jackpal/Android-Terminal-Emulator/commit/bb6beb2d70216470455fa46e0e0159fd1a9a5632
- https://github.com/jackpal/Android-Terminal-Emulator/commit/76ede36ee2327da7653525e8113b7a596ce9860e
- https://github.com/jackpal/Android-Terminal-Emulator/commit/b9c1590bd78aba6da02ddc5f1bb623295a918879
- https://github.com/jackpal/Android-Terminal-Emulator/commit/77a689aa9901433ba6103d49d56857dcc1e6d6fc
- https://github.com/jackpal/Android-Terminal-Emulator/commit/3f61aa4baa0cea26edb8a98c3fcd549a1686503b
- https://github.com/jackpal/Android-Terminal-Emulator/commit/cf96d36433d4f7178fbc2d2dab80ee9611be1742
- https://github.com/jackpal/Android-Terminal-Emulator/commit/51c4fe70fb05d87408ee729a7b8763b170d8f865
- https://github.com/jackpal/Android-Terminal-Emulator/commit/b21c1d8e28658b6f29d5933fe18aff88abc420d5
- https://github.com/jackpal/Android-Terminal-Emulator/commit/241f03de58ef00a992fd569af1290b4ec8f46844
- https://github.com/jackpal/Android-Terminal-Emulator/commit/3fb8de9d6bfa2efbee701106adc6dc9d548386ab
- https://github.com/jackpal/Android-Terminal-Emulator/commit/1a80ecb5ccf7f9e2e9c14b8694b5d0d60cf16a9c
- https://github.com/jackpal/Android-Terminal-Emulator/commit/f8f7a737fdade79b279e55a0f5f2b00eabcb2d97
- https://github.com/jackpal/Android-Terminal-Emulator/commit/e0f8e648529077499f63e91567f9999a33944342
- https://github.com/jackpal/Android-Terminal-Emulator/commit/fda15fe4ae9215faefae06873a542206aaf8245d
- https://github.com/jackpal/Android-Terminal-Emulator/commit/64343908b08146c0c25fd55668766c47d7aef9d0
- https://github.com/jackpal/Android-Terminal-Emulator/commit/4afd7e7fb221b19e73cfa1df92f48ac329de681e
- https://github.com/jackpal/Android-Terminal-Emulator/commit/a7c9564c746fd86f90ec9426d668213281e9776d
- https://github.com/jackpal/Android-Terminal-Emulator/commit/6202a690cba58ada33e2cfa30e531ead08c61d8b
- https://github.com/jackpal/Android-Terminal-Emulator/commit/c903ed96cd04b10d75f9ac1a83d08e856aa0d32c
- https://github.com/jackpal/Android-Terminal-Emulator/commit/0da354d0a255a8cc4d60a67d77c598f2b5fc478d
- https://github.com/jackpal/Android-Terminal-Emulator/commit/7335c643f758ce4351ac00813027ce1505f8dbd4
- https://github.com/jackpal/Android-Terminal-Emulator/commit/9a47042620bec87617f0b4f5d50568535668fe26
- https://github.com/jackpal/Android-Terminal-Emulator/commit/9e02953fc32ca85b4e09e52380315180008e7cd6
- https://github.com/jackpal/Android-Terminal-Emulator/commit/09ead3a9803ddf78ae57697b85f2e858a954db4f
- https://github.com/jackpal/Android-Terminal-Emulator/commit/c8fb346b201663fea21362c90a916dcf9922e9ee
- https://github.com/jackpal/Android-Terminal-Emulator/commit/120a65c17c07f41fb3cc2bd99940322da598056c
- https://github.com/jackpal/Android-Terminal-Emulator/commit/2b39774dc8b956e0fdc284105845f548defb9954
- https://github.com/jackpal/Android-Terminal-Emulator/commit/a2b2af18bb476911a7bb88f831e683941c3c18e8

Credit/Thanks to respective authors of these commits

Change-Id: I6d9906aa3da0bded01069d2d0974f9033f99999c