Bugfixes and optimizations pack

+ Fixed scene wheel scroll behaviour when grid is disabled
+ Scene optimized a lot (removed full redrawing on mouse events)
+ Added edge element selection even on accidental click on its label
+ Added system variables rolling in print text block
+ Fixed segfault when generating NXT code with sensor variables
+ Fixed type inference of expressions with time variable 
+ Fixed print text block containing line breaks generation