Relationship resolver

It would be nice from a UI to have access to all the mods which are in conflict and not pull out a single pair from a exception string.
While there I rewrote some parts.