Zero is not required at the end of funcs sequence.
Put zeros at the end of generated sequences.
Fix for broken \x escape sequences in C.
Backport collect_terminfo.py from Go.
Frankly, collectkeys.py doesn't work anymore, due to some changes in the
python's ncurses library. The collect_terminfo.py from Go queries the required
info using one process per tget. It solves the issue with collectkeys.py.
Reorganize termbox source tree.