This allows using it in other hosting apps (and fixes crashes when plugins try to access it).
Also change the plugin to be allocated lazily.
Note: Fixes an obvious crash in RKWard when using the LSP client plugin, but also, quite trivially, allows to use the KateTextHintManager inside RKWard.