Letting the package be changed
Creating instances with the specified tomcat package
Renaming templates and referencing tomcat from variable
Really removing the old templates
Renaming the service to restart based upon the tomcat package installed
More changes to tomcat package from tomcat7
Checking if package is tomcat6 before adding the threadlocal leak listener thingy