[NuGet] Check ProjectTypeGuids are read from project.

When installing a NuGet package the project's ProjectTypeGuid is used
to determine if a project is a web project. This determines whether
the web.config or app.config is affected by any transforms included
in the NuGet package.