Simplify editor's component list

If a module only has one component then that component is shown as a
child of the next module up, saving a line in the tree diagram.