Add command for showing a tree of build graph nodes.

This is helpful for getting an overview of the parent-child
relationships.

Change-Id: I097921fc77e36ca3f34e548aa6132ef8e1cd9295
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>