QmlDesigner: Add panning for the formeditor

You can now pan if you drag the mouse around with the middle mouse button.

Change-Id: I70e1666c542406b126214c2b9b8b56193bcbcf76
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>