Mondrian-1370: Explicit aggregates with count distinct measures can give incorrect results
fix JdbcStatisticsProvider.getColumnCardinality: would only return full table cardinality
bypass dataSourceDialectMap in testStatistics to prevent failure when PoolingDataSource is reused; close uses of test context with fresh connection
code formatting