Fixes #1684. cached resolution applies overrides on conflict

This change brings over dependency overrides to artificial graph.
However, it seems forced might win, so I need to take overrides logic
in account during conflict resolution.
Merge pull request #1686 from sbt/wip/fix-1684

Fixes #1684. cached resolution applies overrides on conflict