Fix and improve CommandManager, HelpAction and HelpCommand and move it inline
into this module.