Fixed demos and guide code samples to reflect the 1.0 API change of the task() methods from returning a DataflowVariable to returning a Promise