ISPN-3767 MassIndexer breaks search feature with one node cluste# Please enter the commit message for your changes. Lines starting

* Add DegeneratedClusterMassIndexingTest to show that mass indexing is not yet fully flushed when MassIndexer.start() returns
* Add BatchBackend flushing to ensure all indexing work for all indexes is flushed