Add aspnetcore50 support for Mvc.Client and remove unneeded references