Group commands into categories, tidying "help" output accordingly.