[ARIES-1585] Add tests for JDBC connection cleanup, and fix the leaks!

git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1753813 13f79535-47bb-0310-9956-ffa450edef68
19 files changed