Port modesetting fix for 1FPS when laptop lid is closed on secondary displays.
This is fix for #37 (closed)
This MR takes modesetting implementation of function randr_crtc_covering_drawable
returning correct RRCrtcPtr covering drawable including crtc from secondary screens.
This MR includes also some code cleanup and removal of duplicated code.