Remove CronArchive::initCore method and add tests for task scheduled running during tracker and archive.php web archiving failure when not using superuser token auth.
Create Hooks class for CronArchive to separate cross-cutting concerns from main algorithm logic. Used new class to encapsulate CronArchive logging logic for code clarity & easier maintenance.
Adding some more hooks and refactoring some CronArchive job logic (move active & failed request semaphore decrementing).