SOLR-4413: Fix SolrCore#getIndexDir() to return the current index directory. SOLR-4469: A new IndexWriter must be opened on SolrCore reload when the index directory has changed and the previous SolrCore's state should not be propagated.