[scene] Introduce helpers for mapping between different coordinate spaces
We currently deal with three different coordinates spaces - the window
pixmap coordinates, the window coordinates, and the buffer coordinates.
This change introduces two helper methods for mapping points from the
window pixmap coordinates between the other two.
The main motivation behind this change is too completely break the
direct relationship between the window pixmap coordinates and the buffer
coordinates, which will be needed for wp_viewporter stuff.