Group IOs and uses of Cmdliner to a single module

The new module Tool_cmdline replaces former Tool_common, Tool_main and
all uses of Cmdliner in Tool_*.