Avoid passing isTrusted in TaskConfigFactory.getTaskConfig()

The isTrusted logic should be abstracted at TaskTree.Node level
rather than at task level. This refactor helps supporting the
upcoming feature which enables referencing tasks from other files.

Change-Id: Icb662a4f3a577df7acd77f42867a6273383f17e4
4 files changed