MODE-1790 Corrected InfinispanBinaryStore to remove temporary files

The InfinispanBinaryStore was creating temporary files to determine
the SHA-1 of the file, which is used for the cache key and thus
must be known before doing anything with the cache. But it was not
deleting these temporary files when finished.

This change removes the file in the existing finally block of the
'storeValue' method. It also uses local variables for the size
and lastModified timestamp of the file.
MODE-1794 using non-static classes for serialization is not good idea
MODE-1789
Execute {code}match(){code} not only in debug mode
MODE-1789
Exception messages was internationalized
MODE-1785 - Fixed a couple of FSConnector issues:
- a root node should not add itself as a parent (if it does, it exposes a StackOverflowError)
- trailing slashes (/) in node ids should be removed when determining the file/parentFile
- binary values (corresponding to jcr:content) shouldn't be queryable. If we want them to be queryable, we need to change the implementation to use ExternalBinaryValues.
MODE-1785 - Implemented the logic behind index rebuilding at the repository level based on the "rebuildIndexesAtStartup" flag which contains 3 values: always, if_missing and never.
MODE-1785 - Updated the AS7 schema to correctly parse the rebuildOnStartup attribute.
MODE-1785 - Changed the JSON schema structure for the rebuild indexes on startup feature.
MODE-1785 - Updated the AS7 schema with attributes that are similar to the ones which are part of the JSON schema and which control the indexing rebuild behavior
Updated the test data used by the binary stores to be directly related to the default "minimum binary size" which controls what type of binaries are created.
MODE-1795 Importing XML should map default XML namespace

When importing XML, any XML namespaces should be used, even if the
prefix for the XML namespace matches an existing namespace prefix.
Per Section 11.1 of the JSR-283 specification, an existing JCR namespace
should be used if its URL matches the XML namespace URI. If
there is no existing JCR namespace matching the XML namespace URI,
then the namespace should be registered using the XML namespace prefix
if not already used or a generated prefix if the XML namespace prefix
is already used.

A new unit test case was added to verify the behavior.
MODE-1786 - Fixed the "url" property for JDBC-based binary stores.
MODE-1798 - Added explicit validation of the case when a preconfigured projection is created without an alias name or with an alias that ends in "/". Also, cleanup up a bit the code around preconfigured projections.
MODE-1800 - Added the node primary type as information to the newDocumentId() method, giving connector implementations an additional piece of information.
Corrected compiler errors and warnings.

This have accumulated over the last dozen or so commits.