server: let a running command move to the background
Every exec_shell_command now runs as a task its call waits for, and
sends its exec_id first. POST /tools/tasks with from_exec_id moves it
to the background: the call returns at once and the command keeps
running under the same id. With detach_on_timeout, a command that
reaches its timeout goes to the background instead of being killed.