Add support for resolve references via packages.config.

Code review request from @terrajobst and @davkean. 
Yep, our aim isn't to develop an end-to-end solution here yet - so we should do something targeted, this work is in flux from another team.