Force the creation of a pseudo-tty for all remote commands.
Add a 'remote-tty' flag to command records to control which commands will force the creation of a pseudo-tty for handling remote commands.
Merge branch 'remote-terminal'