[kcms/keyboard] Factor out common code into a library
There is quite some code shared between the KCM, the KDED module and the tests. Create a new lib to make this a bit cleaner.
There is quite some code shared between the KCM, the KDED module and the tests. Create a new lib to make this a bit cleaner.