ISPN-4384 CacheNotifierImplInitialTransferDistTest test instability

* Dist initial transfer could fail erroneously if remote/local batch
* completed at about the same time
ISPN-4405 Remove unnecessary Lucene dependencies causing build halt
ISPN-4406 Security integration tests should run sequentially

* This is because tests rely on static field initialisation.
* To support this, test cache manager factory must be able to cope with
checking if the cache is closed even if it's unauthorised.