doc: api: dnf.cli. Commands and resgistering them.

This is essential for plugin authors who wish to register their own commands.