Fixes #1620. Fixes Set[ModuleID] serialization that broke update cache.
Merge pull request #1620 from sbt/fix/1620

sbt resolves dependencies every compile when using %% with dependencyOverrides