Changed hibernate packaging scanning.
Improved Tomcat generation.