checkForSettingsDamage(): throw after tearDown()
IDEA-121510 JSP: reindex: INRE through JspSpiUtil.isIncludedOrIncludesSomething(): check for JSP includes should be invoked from pass itself, because it involves some index processing.
DomUtil.hasXml: use DomElement.exists() to avoid costly getXmlElement()
fixes + tests CR-IC-4788