Update Gradle build to use Apache Commons Pool 2.0.

Trivial patch for part of issue 479 - fix issue with Gradle build file referencing commons pool 1.6.