99f17b8f

By: Michael Lynch <git@mtlynch.io>

Make media deletion recoverable

Soft-delete media records before removing persisted variants, then purge the
record and its activity only after all files are gone. Recover unfinished hard
deletes during startup.