LUCENE-4734: Better memory efficiency.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1505731 13f79535-47bb-0310-9956-ffa450edef68
improve TestXIncludeConfig to also check entity includes

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