template: use undeprecated KPluginMetaData-based API
Tested by generating a new project from the template with KDevelop, building, installing & running.
Tested by generating a new project from the template with KDevelop, building, installing & running.