Various improvements

- Updated NuGet to 2.8.2
- Fixed versioning issue with packages directory
- Projects now reference packages from their own packages directory
- Added replacing of project references with NuGet packages
- Added automatic removal of projects from solution if they can be
referenced as NuGet packages.
- Improved efficiency of package resolution.