THRIFT-2782: D: Timing-insensitive unit tests for thrift.internal.resource_pool.
Client: D
Patch: David Nadlinger

This closes #245
Merge branch 'master' into haxe