Add synchronous API for tasks
Bokeh relies heavily on their Callback for User Interaction and so on. Examples: Button.on_click(). Currently we only support:
async execute()
and async request() for the tasks, which makes using them with Bokeh quite cumbersome. We should expose a synchronous API for the same. Similar to #141 (closed)