qtcollider: implement QtGUI:*cursorPosition
class library: Platform - redirect getMouseCoords to GUI

Also, move Cocoa implementation of getMouseCoords from OSXPlatform
to CocoaGUI.

This preserves source compatibility, since getMouseCoords was only
implemented for OSXPlatform, with the addition that getMouseCoords
will now work whenever QtGUI is active.