tests: create unit test to check commenting in state machines.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
scripting: fix accidental insertion of empty scripting service into TaskContext.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
scripting: Allow to query the PeerParser for a succesful match

Without this new foundPath() function, it would be impossible to find out
if any parsing was possible at all. Used by the TaskBrowser.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
Merge branch 'toolchain-2.7'