Correct processing cases where a group of faces lies on U-periodic and V-periodic (torus-like) surface. Add comments according to the remarks
Correct filling of the history of the modifications of the shapes in ShapeUpgrade_UnifySameDomain algorithm. Test cases for the issue.