Set task as second argument to record task event notification callback

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Fixed clause value preparation

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Automatic operator conversion if value is an array

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Made taskSet dependency add method generic

Signed-off-by: Tom Wright <tom@inflatablecookie.com>