lui: add functions to set teleop/joint mode

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
halui: use lui for teleop/joint mode

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
halui: remove some now-dead code

Teleop/joint mode was the last user of emcCommandWaitDone and doneTimeout.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
linuxcncrsh: use lui for teleop/joint mode

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
emcsh: use lui for teleop/joint mode

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>