Make EditContext.Validate obsolete, adjust tests and project template (#67662)