#409 - added before_task_start and after_task_finished hooks
#409 - first parameter is task object
Merge branch 'issue/409_2'
fixed for compatibility with perl <= 5.12
Merge pull request #3 from RexOps/master

sync over master branch