Error reporting includes all constraints
Cost function is now a function of state and the main cost function prefers
earliest requested version of a package as it is how we defined the best choice.
Merge branch 'constraint-solver' into library-constraint-merge
fix comment