Some inconsistent code migration
Merge branch 'master' of github.com:qreal/qreal into 2d-model-code-improvement
Accomplished moving large pieces of code from D2ModelWidget to D2ModelScene
Fixed world loading issues.
Fixed incorrect robot`s position resetting when clearing.
Merge branch 'master' of github.com:qreal/qreal into 2d-model-code-improvement
Fixed display toggling button`s horizontal expansion
Fixed possibility to drag robot out of the scene rect
Autoexpanding made a bit smarter: now it takes into account just robot item
Fixed incorrect sensor`s dragging direction after adding colliding wall
Fixed segfault when drawing an item from the sensor above the robot
Fixed taking lambda by value
- 2d model scene is aligned to top left corner of the view
- some small styleguide fixes
examples need to be updated according to new scene position
Merge pull request #1290 from dvvrd/2d-model-code-improvement

2D Model Refactoring Stage 2
Merge branch 'robots' of github.com:dvvrd/qreal into robots

Conflicts:
	plugins/robots/interpreters/commonTwoDModel/src/engine/view/d2ModelWidget.h
Fixed incorrect rotation axis point
Fixed automatic centering on robot when returning it to far initial position
Corrected items position in examples