Verify terminfo key

Ansi-term running within emacs doesn't define the Backtab key, so
binding to a key would result in error.  Now, check for whether that key
is defined before binding it.