Add basic tmux support. Contributed by turlutux.

Tmux uses an escape sequence to send back control to the host terminal.
Use the TMUX environment variable to determine if xtermcontrol is called
inside a tmux session and escape control sequences accordingly.