Add basic tmux support

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 accordingly.