Upgrade projects to .Net framework to 4.5.1 and update NuGet packages