trollius: modify task_factory to build GreenTask
Fix test_task_yield_from_invalid() on Trollius