cocoa: implement window-scale
cocoa: use window-scale to support video scaling functionality

In the cocoa backend you can use cmd+0/1/2 to scale the window. This commit
makes it use the new window-scale functionality.