Zoekt: Add mark_ready task

Background

This issue is for implementing the mark_ready scheduling task.

Proposal

  1. Iterates over Search::Zoekt::Index.where(state: :initializing)
  2. Checks that index.repositores.where(state: [:pending, :initializing]).count == 0
  3. Updates the state index.update!(state: :ready)
Edited by Dmitry Gruzd