Use K_PLUGIN_CLASS_WITH_JSON instead of custom KDB_DRIVER_PLUGIN_FACTORY
Task: https://phabricator.kde.org/T14542
Is removing the macro from the public namespace okay? I am not sure to what extend that is considered public API, but removing it will still keep BIC and there are no usages outside of this repo.