Small fix for MONDRIAN-1566. The DynamicDataSourceServlet was creating a new DynamicContentFinder for each request creating a new Timer thread each time.
Merge branch '3.5' of github.com:gregtaylor/mondrian into gregtaylor-3.5
Fix for MONDRIAN-1123, merged from github.com:gregtaylor/mondrian.

No need to merge this into lagunitas.

Added test suggested by Julian to Olap4jTest which
replicated the error in the 3.5 branch. The real problem seems to be the
schema reader including these members, but I wanted my change to be very
low risk. The change simply avoids the ClassCastException by testing the
member via instanceof before the cast. It's unclear if any other bugs
exist due to the underlying issue with the SchemaReader, but apparently
this bug is fixed in the 4.0 branch anyways, so it might be irrelevant.
Fix for MONDRIAN-1506. The SQL statements for segments are now registered in the segment cache index so that we can determine if it is safe or not to cancel a given statement. I have also tightened the handling of the different exceptions to make sure that we don't let any slip. This prevents a race condition that existed when the cancelation of the SQL statements was not noticed before a second query came in and used the very same segment entry form the index. This was causing the cancelation exception to bubble (rightfully) to the second query thread.
Woopsie for MONDRIAN-1506. I had removed the small pause between the two tests but forgot to put it back in. Both tests need some distance in timing to be valid or else we create contention between them.
[BISERVER-8972] Backport of the Impala and Redshift dialects.
Tightens up the handling of segment cancelations. Also modified the ConcurrentMDXTest so that it behaves a bit more realistically.

Conflicts:

	testsrc/main/mondrian/test/ConcurrentMdxTest.java
Woopsie.
Brings in a few fixes from the master branch. They all relate on how mondrian handles concurrent queries with flush operations, somewhat related to mondrian-1217.
The MondrianServerImpl maps didn't need to be wrapped. We use method-level synchronization because of the interaction between the two maps.
[SP201305-4.8] Update mondrian versions to 3.5.7 and kettle to 4.4.1.1 for patch release.
Fix for MONDRIAN-1595. Some docs mistakes.
 [MONDRIAN-1587] Drillthrough SQL is invalid on hsqldb.
    SQL formerly included redundant parentheses in cases where drillthrough was gener
    Validated changes against postgres, greenplum, mysql, oracle, sqlserver and hsqld
    (cherry picked from commit e411d5b)
    Excludes overlapping changes for MONDRIAN-1226 from master.
Merge pull request #86 from mkambol/3.5-1587

 [MONDRIAN-1587] Drillthrough SQL is invalid on hsqldb.
Merge pull request #81 from mkambol/levelNameRequired

[MONDRIAN-1418] Made the name attribute of Level required.
Fix for [MONDRIAN-1471. The Netezza dialect has to subclass the postgres dialect, but it has to setup its factory to recognize Netezza drivers, not postgres.]

Conflicts:

	src/main/mondrian/spi/impl/NetezzaDialect.java
PSW-167 - Added esapi.jar to the workbench distribution as kettle requires it now.
Added esapi.jar to the workbench distribution as kettle requires it as a dependency. Without this, we can not re-open an existing model.
Merge pull request #91 from dkincade/3.5

PSW-167 - Added esapi.jar to the workbench distribution as kettle requires it now.
Removes the closing of statements from the monitoring threads. Only cancelations should be processed that way. The actual close operation must be delayed until the call to cancel gets seen by the SQL thread, or else the connection gets placed back into the pool and then all sorts of thread safety problems happen.
Merge of fix for MONDRIAN-1085, Mondrian does not recognize [dimension].[hierarchy] in <AggName> element for defining agg tables, even if SsasCompatibleNaming=true

Conflicts:

	testsrc/main/mondrian/rolap/aggmatcher/NonCollapsedAggTest.java