Moved task archival logic to helper functions. Reverted archival logic to handle all done tasks instead of individual tasks.
Modified settings override in tests, mainly to make Celery requests eager in API tests.