Working on linear workflow: on_task_result()

* Implementing LinearWorkflowHandler.on_task_result()
* Unit tests

TODO:
 * Method get_upstream_tasks() is not really applicable for linear workflow
   so we may need to redesign this part workflow handler contract

Change-Id: Ib39c37a2a8fa56c6dbdf664922b939cc218fcd67