ISPN-2789 - OutOfMemoryError in case if LuceneCacheLoader.loadAll() is called

  * The bug is fixed.
  * The fix testing tests are added.
  * Many new tests are added testing lucene directory.
ISPN-2789 - OutOfMemoryError in case if LuceneCacheLoader.loadAll() is called

  * The bug is fixed.
  * Tests are added for verifying the bug.
  * Many new tests are added testing lucene directory.