Use K_PLUGIN_CLASS_WITH_JSON instead of custom KREPORT_PLUGIN_FACTORY macro
Task: https://phabricator.kde.org/T14542
We should drop that macro when doing the next major release. Removing this now and thus breaking source code compatibility would not be worth the effort IMHO.