BibIndex: ingestion health and "unneeded" indexes

* Provides a fix for find_affected_records_for_index
  function which limits the number of history entries
  that are taken from databse.

* Provides a fix for handling wrong names of indexes,
  which were specified in CLI.

* Changes the behaviour of bibindex so now it updates
  index's last_updated information also when index
  is still up to date and no indexing had to be done.
  (closes #1632)

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>