Add new DependenctDatabase object and add restriction abstraction to resolve * pull out resolve() code that restricts by label, and abstract code that assembles dep results from complicated depNum mappings, to allow for  creating other resolution inputs, outputs, and restrictions.   
Add new DependenctDatabase object and add restriction abstraction to resolve
* pull out resolve() code that restricts by label, and abstract code that
assembles dep results from complicated depNum mappings, to allow for 
creating other resolution inputs, outputs, and restrictions.   


sassoftware/conary,sassoftware/conary,sassoftware/conary,sassoftware/conary,sassoftware/conary