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. 
I'm used to that being standard. If the project prefers not to use var I'll update the coding style and swap these back.