Fix indents and copy/paste errors

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1589983 13f79535-47bb-0310-9956-ffa450edef68
Parser uses lazy init so move creation of parser inside the block that uses the container class loader.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1589985 13f79535-47bb-0310-9956-ffa450edef68
Return the type attribute in the <style>. Removed by mistake with the previous commit.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1589988 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/trunk@1589990 13f79535-47bb-0310-9956-ffa450edef68
A quotation mark is missing.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1589991 13f79535-47bb-0310-9956-ffa450edef68
Add new constant missed in previous commit

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