Pruning : delete images no longer in use

Delete images linked to deleted content files or otherwise not used.

Signed-off-by: Olivier Carrère <carrereo@gmail.com>
Acked-by: Angela Cristina <acristina@redaction-technique.org>