Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55218 and https://issues.apache.org/bugzilla/show_bug.cgi?id=55219
Upgrade digester to use DefaultHandler2 and use LexicalHandler to detect publicId.
Simplify web application version detection in web.xml
Extracted from a patch by Jeremy Boynes.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1547931 13f79535-47bb-0310-9956-ffa450edef68
Switch o.a.catalina classes to use the new ErrorHandler

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1547937 13f79535-47bb-0310-9956-ffa450edef68
Convert ParserUtils to use the new ErrorHandler and EntityResolver

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1547947 13f79535-47bb-0310-9956-ffa450edef68
Convert JspDocumentParser to an DefaultHandler2

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1547948 13f79535-47bb-0310-9956-ffa450edef68