NXP-11617: allow security policies to apply to other query languages than NXQL, for instance CMISQL
NXP-12038 fixing lock management connection validation

Conflicts:
	nuxeo-core-storage-sql/nuxeo-core-storage-sql/src/main/java/org/nuxeo/ecm/core/storage/sql/LockManager.java
cleanup removing unused fields
insure statement closed
NXP-9709: new VCS CachingMapper implementation using Ehcache (moved from optional addon)
Merge branch 'master' into NXP-11995-metrics-upgrade-3.0.0
NXP-11995: Direct use of metrics api instead of a Nuxeo service