For actions and submenus created only for the given context for the menu,
as opposed to persistent context-ignorant actions kept around all the time
and owned by the plugin instance, in IPlugin::contextMenuExtension()
overrides was no access to a QObject/QWidget element which could be used
as QObject-style memory management for the given context menu event.
So the old code for that either used instances like the plugin objects
themselves or even none at all, which both de-facto results in
accumulating lots of out-of-use QActions and QMenus during the runtime
of KDevelop, only to be cleaned up either on destruction of the plugin
instances at process end or never.
Passing to IPlugin::contextMenuExtension a QWidget* object to be used
as memory management parent matching the lifetime of the context menu
allows to fix that.