Generalize distributions dependencies graphs

This makes it really easy to add new parts to track dependencies of
specific, or groups of, distributions.
Generalize distributions imports listing

This makes it really easy to add new parts to keep lists of which
distributions import a specific, or a group of, distributions.