split off send_keys function

Hi, I split off the meat of the `tbone#write_command` into a separate function that can be used from other plugins to send keys to a tmux pane. I'm using this for interacting with a REPL where only using ':Twrite' does not cut it as I want to send custom strings that do not correspond to lines in the buffer.