Use NuGet.Core where possible

TODO:

[ ] Find more places where we can use NuGet.Core instead of our own implementation

Btw, I had commit access before Squirrel moved to it's own organization, seems that this got changed?