BugFix: Fixup +1 version usage, adds full TTYPE suboption & MTTS support

*** Includes unrelated but simple, critical bug fix for bug #1329948
{rightclicking the left aligned timestamp "frame" crashes the client}
in TTextEdit.cpp. ***

Found another place where Mudlet's version is reported:
TBuffer::translateToPlainText() {MXP processing}, change so it now uses
the global application value (including build).

Adds full Telnet TERMINAL TYPE sub-option support (cycling through
alternate responses, with decreasingly specific data).  Simultaneously
tries to implement the related Mud Terminal Type Specification protocol
as documented in http://tintin.sourceforge.net/mtts/ by "Scandum"
(current maintainer of TinTin++ Mud Client).

To aide (Application side, not Lua subsystem) debugging adds a
TLuaInterpreter::telnetMsdpDump to convert non-printable ASCII codes in
character strings to visible representative tokens, i.e.:
<NULL>, <MSDP_VAR>, <MSDP_VAL>, <MSDP_TABLE_OPEN>, <MSDP_TABLE_CLOSE>,
<MSDP_ARRAY_OPEN>, <MSDP_ARRAY_CLOSE> for the ASCII character numbers 0-6.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>