issue6291: remove commands from commandLineAPI.js declared elsewhere
Revert "issue6291: remove commands from commandLineAPI.js declared elsewhere"

This reverts commit fc11e1f6e9b6cb49fa45330d5590196cc6c05ef9.
issue6291: add context to onSuccess and onError
issue6291: fix watch expressions can't be evaluated
issue6291: fix call to deleted CommandLine.isReadyElsePreparing