ISPN-2763 Cleanup code for better validation in Directory building
ISPN-2763 Validate no forms of expiry are enabled on the caches used to store Lucene index elements
ISPN-2763 Allow i18 even for NPE check
ISPN-3591 Upgrade Lucene Directory to support Apache Lucene version 4.5
Cleanup some generics and some redundant Flag options
ISPN-3592 Avoid the DirectoryImplementor list() method to return null elements in the returned array
ISPN-3593 Disallow storing a Lucene index when storeAsBinary is enabled
ISPN-3600 ignorePreviousValue should not be set on non-origin nodes
ISPN-3443 State transfer can undo write command
ISPN-3607 AdvancedCache.getEntry method doesn't work with passivated
entries

* Fixed issue where getEntry causes cast exception on passivated entry
ISPN-2610 Use Query but disable automatic indexing

If 'hibernate.search.indexing_strategy' configuration property of SearchFactory is set to 'manual' no index updates should be automatically performed when cache data is modified. The actual indexing is done only after being triggered via MassIndexer.
ISPN-3605 Configuration validation for Metadata Cache in Lucene Directory
LuceneStoreConfigurationBuilder don't read template correctly
ISPN-3588 CacheManager.startCaches ignores exceptions if cache fails to start
ISPN-3603 Conditional command is committed on originator when it fails on primary owner
ISPN-3610 Upgrade to Hibernate Search 4.4.0.CR1
ISPN-3619 Upgrade logging processor to 1.1.0.Final
ISPN-3611 Service jboss.infinispan.default failed to start on IBM JDK 6,
argument type mismatch

* Added workaround to avoid IBM HashMap bug
Trivial cleanup
ISPN-2478 PutMapCommand not correctly removing previous types from indexes

Add a test to highlight the issue