Add support for resolve references via packages.config.

Code review request from @terrajobst and @davkean. 
Where does PackagesConfigFile actually get set?