using variable ${container} where feasible (jboss and wildfly)
tomcat6 and tomcat7 added