Batch reindex state polling

If the IndexerMaster goes down during a batch build then the future containing the callback that updates the batchindex state also disappears. This leaves the indexer in state that it is unable to start new batch jobs.

This change removes the future mechanism and uses a polling mechanism instead.