Add handleWith to Task

Cherry-picking pull request #592 (b93a757, f1db186)
Improve actor implementation

Cherry-picking pull request #624 (dce8a80)
implemented Task.runAsyncInterruptibly

Cherry-picking pull request #632 (d50d5f2)