Allow an env var to specify if supervisor is controlling tomcat service.

Part of upcoming patches for running spec tests in a docker container.