[KJots] New signal / slot API & minor cleanup
Summary: This patch contans no functional change, just some code cleanup
Test Plan: make
Reviewers: dvratil
Reviewed By: dvratil
Subscribers: kde-pim
Tags: KDE PIM
Differential Revision: https://phabricator.kde.org/D29287