LUCENE-5951: these test cases can't run on Windows

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1646792 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-6121: QueryBuilder put 2nd reset() to where it was, and add test to ensure no double-reset if there is no term attribute.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1646796 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-6122: always set CMS settings in LuceneTestCase.newIndexWriterConfig

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