Created by: portnov
Add possibility to make grid cyclic in U and/or V directions. This makes sense only if one is going to map the grid onto some sort of cylindrical or toroidal surface.
New modes are disabled by default, so existing scenes will not be broken.

