made connection pool an implementation detail of a node.
refactor ConnectionPool a little and changed up tests.
added mock test helpers for replica set testing.