API: Do not present all root artifacts as target artifacts.

E.g. Transformer outputs are roots, but not target artifacts.

Task-number: QBS-557
Change-Id: Ia2ab5567344911b0751deed465722deb182e4aaf
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>