kcm: Make savePrinter async
Refactor to remove "waitTillFinished" pattern to eliminate the use of the nested event loop in the KCupsRequest.
Related: #16
Additionally, also fixes a warning about memory leak (clang NewDeleteLeaks)
Testing
This refactors saving of regular printer attributes as well as the default printer flag, which CUPS treats as a little different. Essentially, setting default printer automatically turns if off for the prev default printer.
So, test adding and changing a printer, changing both normal attributes and the default flag, together and separately.
Edited by Mike Noe