Separated the procedures that search for conflicts to another module.

Also tried to test the finding of conflicts, but gave up
soon. Apparently the backrefs are triggering superfluous updates when
updating a dependent model. This might not be too bad because of
compression, but I can't be sure yet.