Added task-style continuation, via Continuation.taskFunction. In this style, instead of functions taking the continuation as an argument, they return a Task object which can be used to listen for completion of the task. This also allows fork/join behavior of multiple tasks.