MODE-2194 Changed the way the DatabaseBinaryStore interacts with JDBC connections and statements: each statement & connection will be closed on a per-operation basis. The only exception is reading the binary stream from a DB, in which case the connection & statement will be closed only when the stream is closed.
MODE-2194 Fixed a number of other issues around the DB binary store; refactored the test profiles and added a generic DB test for both ISPN and binary storage; completed testing against: H2, MySQL 5.5, PostgreSQL 8.x and 9.x, Oracle 10g and 11g and MS SqlServer 2008 R2.