[NuGet] Refresh type system only when package has .targets/.props

When restoring the NuGet packages the NuGet addin would always refresh
the type system and the RemoteProjectBuilder. Now this refresh is only
done if one or more of the NuGet package being restored use a custom
MSBuild .targets or .props file.