layer-shell: add ping/pong
This mechanism is similar to the one already in use by xdg-shell, with the added specification that the server may use this in order to achieve frame-perfection when creating new outputs on which layer-shell clients wish to create a new layer surface.
Consider this an alternative to #86. I'm not entirely sure which approach is preferable.