Delete resource_revision of a package before purging it, to avoid errors.
Add purge of deleted resources.
Add SQL script to delete etalabot activities.
Add script to repair member relations between organizations and packages.