Added NuGet infrastructure

This PR adds support for building the library as a NuGet package.