Implement the context management protocol for the Pool.

Implement the __enter__ and __exit__ special functions, along with
a test.