support multiple media sources for a media item

A media item represents a unique piece of media. The new design supports
now duplicates of this media item and a proper handling of them. (Same
file in diffrent media libraries, find and remove duplicates etc.)