adds support for composite tasks to run_command matcher

Run command matcher will now support multiple executions in a single task (e.g. CompositeTask).