Correction for NuGet's automatic package restore

- adjusted .gitignore to allow updates in packages/repositories.config.
- corrected three .csproj files with new <Reference> tags to the nuget package directory.