Added panning of 2D view. Improved move tool.

Added ability to pan the orthographic view. Improved the move tool, so
that user can give precise values also in the toolbar. Fixed selection
tool bugs and snap to grid bug.