[OPTIQ-426] Pool JDBC data sources, to make it easier to pool connections

Also pool OptiqConnection objects in OptiqSqlOperatorTest.
[OPTIQ-427] Off-by-one issues in RemoveDistinctAggregateRule, AggregateFilterTransposeRule