State: add the submodule `Target_graph`
Command_line: add “autocleaning”

There is an `autoclean` command and two entries in the main interactive
menu.
lib: remove wrong type-hackery `Path`
lib: improve display of metadata