[SA|FI] added support for staring tomcat in debug mode, passing jvm args and system properties
also did sanity checks on all  the ports
[SA|FI] wait for tomcat to start up rather than blocking indefinately.
[SA|FI] stopEmbeddedTomcat task is exposed to kill EmbeddedTomcat from client projects.
Using stopEmbeddedTomcat task to kill EmbeddedTomcat before starting it.