LUCENE-6124: fix broken close() methods in .store/.codec apis

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646854 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-6127: fix mockanalyzer to not use asserts

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646878 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-6124: fix double-close() bugs in WindowsFS etc

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646889 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-6124: fix double-close bug in BaseDirectoryWrapper

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