[Test] IndicesLifecycleListenerTests - added busy waiting for expected results (and improved error message)

The test currently uses ensureGreen to guaranty all shard allocations has happened. This only guaranties it from the cluster perspective and in some cases the nodes are not fast enough to implement the changes (which is what the test is about).