HHH-7640 Improve single node Infinispan 2LC performance

* Use an Infinispan cache to maintain pending puts, which avoids
the need to control it's memory consumption in the critical path
of putFromLoad.
* This cache is shared by all regions, and it's configured with
aggressive expiration settings to avoid piling up pending put
operations.
* Added a 2LC stress test that tests behaivour and performance
of 2LC under multiple situations, such as entity inserts, updates,
find via PK, find via query and deletes.
* Some other minor performance enhancements, such as avoiding
classloader aware cache wrapper if using 2LC locally.
* Remove cache adapter to reduce construction of useless objects.
* Cache flagged caches in order to avoid recomputing decorated
caches all the time, which reduces memory consumption.
* Skip locking for timestamp updates and separate timestamp region
implementations for local vs clustered scenarios.
HHH-7699 Proper code formatting of log statements
HHH-7699 More aggressive in checking log levels before creating log messages
HHH-7699 DriverManagerConnectionProviderImpl is not exact in counting checked-out connections
HHH-7698: In efficient LOB creations backed by streams
https://hibernate.onjira.com/browse/HHH-7698
HHH-7693 Use SQLServer2008Dialect for 2012.

- Previously, SQL Server version 11 (SQL Server 2012) was an unknown
  version, resulting in the SQLServerDialect
- Added version 11 to the switch statement so that SQLServer2008Dialect
  is now returned by default, as SQL Server 2012 is much more similar
  to SQL Server 2008 than SQL Server 2000
- Added test cases to verify dialects for several SQL Server versions
HHH-7692 Use Postgres82Dialect for 9 and 9.1.
HHH-7693 Formatting and duplicate code
HHH-7669: JtaTransaction test fails on Oracle RAC
https://hibernate.onjira.com/browse/HHH-7669
HHH-7711 Generate ddl to file even if scriptToConsole and
exportToDatabase are
set to false
HHH-7711 Added test for SchemaExport
HHH-7479 getForUpdateString() of HSQLDialect returns empty string.
HHH-7479 formatting
HHH-7513 Corrected trace logging for collections using property-refs
HHH-7513 Corrected trace logging for one-to-one cascading
HHH-7359 Corrected trace logging of HibernateProxy objects
HHH-7359 Added a new method to MessageHelper to intelligently handle
property-ref issues in logging.  Rolled it out to as many MessageHelper
users as possible.
HHH-7359 accidentally committed TRACE log levels
HHH-7690 - @EmbeddedId with @ManyToOne inside
HHH-7682 Audit records are not rolled back when transaction is rolled
back