std::rt: Some cleanup
merging task/coroutine refactoring back into upstream