MediaGroup: Ignore external media

This MR aims at fixing #348 (closed) by introducing a nb_external column in the MediaGroup table and excluding external media from the regular nb_video/audio/unknown count.

This approach allows us to keep the group information assigned to a media even after it's been converted to external, which in turns allow users to keep the groups assignment in case of a mistaken removal of an analyzed folder

Merge request reports