add perl detection
[tomcat] improve version string detection for various releases
+ more traces