Added some temporary diagnostics for serialization of the old dependency graphs.
Fixed ResolvedConfigurationIdentifier.toString().
Wrap exceptions thrown by LenientConfiguration and ResolutionResult implementations, to add more context.