Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56383
Merged revision 1589967 from tomcat/trunk:
Properties for disabling server information and error report are added to the o.a.catalina.valves.ErrorReportValve. Based on the patch provided by Nick Bunn.


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1589994 13f79535-47bb-0310-9956-ffa450edef68
More defensive coding around some XML activities that are triggered by web applications and are therefore at potential risk of a memory leak.

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