[FEATURE] Allow overriding of registered commands

Provides a new function unregisterPluginCommand()
to be able to remove/remove already registered
plugins - like the ones shipped and automatically
added with the core of EXT:solr.

Resolves: #50616