Fixed do-while cycle in trik and russian c generators
Worked arround a bug with setting edge`s pos to nan.
Fixed some bugs of inserting node into edge
Made generators working in merged if inside merged if case
Merge pull request #1222 from dvvrd/robots

QReal:Robots bugfixes for some teachers