Add edit_transpose and bind ^T in the REPL

Also prevent other unprintable and unused control codes from being entered.  Of those, I think only <kbd>^X</kbd> (did this set/jump to a mark?) and <kbd>^V</kbd> (printed the following keystroke as an escaped string) did anything in the old readline REPL.