jboss/tomcat launch: wait for evidence of starting

When using SshCliTool (i.e. invoking `ssh` directly via system calls),the ssh session terminates before the background process has started. Therefore in launch command we wait for evidence (in log/console output) that process is running.