OSD/plasmoid action fixes
The actual changes are quite self contained just the reshuffling needs include adjustments and such things
Take rotation into account when applying osd actions
Fixes overlapping/gaps when using extend left/right
Reapply rotation on X11 when applying osd action
keeps previous ouput rotation on X11 when the output was disabled and is enabled by osd or plasmoid action
For this commit common directory is made into a library otherwise it gets really messy.
Reset replication before applying osdAction
Fixes not being able to go out of mirroring on wayland
Edited by David Redondo