Fix from Romain to fix some Tomcat 7.0.52 breaking changes

git-svn-id: https://svn.apache.org/repos/asf/tomee/tomee/trunk@1569305 13f79535-47bb-0310-9956-ffa450edef68