Replace find duplicates by sanity check
Instead of a simple find duplicate, it would be better to gave a "sanity check" function that :
- look for duplicates,
- ensures that all sources are valid
- ensures that all type of sources are taken into account (coherence between the database and the configuration)