Upgrade dependencies and use the new Nuget package restore mechanism