adapt TransportExecutor to be able to create and run tasks dynamically

and streamlined the TAsk interface and usage
Merge pull request #1474 from crate/m/task_executor

adapt TransportExecutor to be able to create and run tasks dynamically