vcl: move mouse functions from window.cxx to mouse.cxx

Change-Id: I4cd0769cd20869e9316c35ff20e4fa477b5aab16