libticalcs: kill a bunch of memory errors spotted by AddressSanitizer in the TI-Z80 and TI-68k calc_* and cmd* files; harden cmd82, cmd85, cmd92 and export the corresponding headers; add torture tests for newly exported functions.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticalcs: refactor headers exporting internal ti*_{send,recv}_* functions; add extern "C" for C++ mode to multiple exported headers.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticalcs: fix OS transfer on multiple TI-Z80 models. Patch by Jon Sturm, testing by him, Lionel and possibly others.

Signed-off-by: Jon Sturm <jonimoose@gmail.com>
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libtifiles: attempt to support Intel Hex files with CR and LF line endings, since TI-Connect supports OS files with LF line endings. Reported by SirCmpwn.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>