Bulk process of shard started/failed should not execute on already processed events
closes #5061
add version and master_node flags to cluster state