Add periodic task to delete old log entries
This adds a new task that tries to efficiently delete old log entries.
Testing instructions:
- Put branch on stage.
- Run the job manually in the shell:
In [1]: from instance import tasks
In [2]: tasks.delete_old_logs()
- Wait till done.
- Go check any logs created older than 60 days and ensure they no longer exist.