Use K_PLUGIN_CLASS_WITH_JSON
Summary: It's a bit nicer than the factory thing
Test Plan: builds, kcm opens
Reviewers: Plasma, apol
Reviewed By: apol
Subscribers: plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D27581