Reduces log spam from ResourcePool

ResourcePool as used by Client was logging through a ResourcePoolMonitor that
 issued debug statements on every update of ResourcePool target values. This
 lead to needless statements as most of the time the logged values are the same.
 This commit fixes that to issue the statement only when the value changes.

Adds dependency on Mockito for testing.