Fixes NuGet/NuGetGallery#1897 - Added a PackageRefConstructor

Fixes NuGet/NuGetGallery#1897 - Added a packageref constructor