Reuse self instead of a dedicated object key for Tasks and YieldFuture

Just a minor improvement I noticed while playing with the code. And Pep8 fixes in a separate commit.