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