WIP BibCheck: collection-based filters and timestamps

* Store the earliest date among last time webcoll was run and the last
  bibindex `last_update` as the `last_run`, instead of the last time the
  rule was initiated. This prevents a race condition where records
  inserted between a webcoll run and the beginning of the following
  bibcheck ran were never considered by bibcheck.
  (resolves #2387)

Reported-by: Samuele Kaplun <samuele.kaplun@cern.ch>
@dset0x are you trying to check if a rule has a filter_collection/filter_pattern rule? Because this `for/if` filter will do the opposite. I.e. return `task_starting_time` as soon as the rule depends on some filter. What we need is the opposite. If the rule does not depend on any filter then we can return the `task_starting_time` otherwise the more complex min date.