ISPN-4100 + ISPN-4211 

https://issues.jboss.org/browse/ISPN-4100
https://issues.jboss.org/browse/ISPN-4211

Tristan's commits are fixing ISPN-4100. 
Introduced new configuration attribute "dialect" for both server configuration and embedded cache. 
Also, the dialect is now set just on the JDBC cache store, not on the underlying string-keyed and binary-keyed tables. So far there was an inconsistency between XML configuration where the dialect (formerly databaseType) could be set only for both tables at once, and configuration API where this could be set on both separately. Now this can be only set for both tables at once, in both XML and Java API ways.