Test ConnectionPool::TimedStack

This adds test for TimedStack.

I want to use connection_pool in net-http-persistent.  To support this I need to be able to create different types of connections (by URI) and track them (because that's what Net::HTTP's API requires).

This might involve changes to TimedStack, it was untested, so here you go.