tools: remove reboot and shutdown

They are useless as we can now just quit the shell to quit the VM.
cmd: return the command exit code (shell or provided command)