av-store: use determine_new_blocks (#3356)

* av-store: use determine_new_blocks

* fix tests

* update the guide

* rename KnownBlocks

* fix iteration order

* add a test
12 jobs for master in 43 minutes and 51 seconds (queued for 4 seconds)
Scheduled