ISPN-3514 Align XML configuration between Server and Embedded * The objective is for server configuration to be readable by embedded and viceversa. * Those elements that are not relevant for embedded configuration are ignored and highlighted with an INFO message. * All configuration affecting test results has been adjusted. * This commit does not include changes to demos, documentation or schema files. This will come later, once the XML has been fully agreed. * If there's any testing XML that has not been converted, it's because it's not being tested at all, it should be removed in the cleanup phase. * During the cleanup phase, all unused attributes/elements and parsers will be removed. * The XML in general follows the pattern used by server which means that there are some noticeable changes to the way embedded XML is configured: * Cache mode is now part of the cache definition, i.e. local-cache, distributed-cache...etc. * Default cache is now specified at the cache container level, naming it. * Shutdown hook now configured as an attribute of cache instead of a separate element. * X-Site local site derived from transport's site-id, instead of adding yet another xml configuration option. * Compatibility mode drops enabled attribute, element being present enables it. * Same thing happens with versioning, element being present enables it. * Deadlock detection's spin duration used to enable/disable it. If configured with a value below 0, it's disabled. * unsafe.unreliableReturnValues is now configured via an attribute instead of a separate element. * store-as-binary is disabled by making sure keys and values are both set to false. * L1 is disabled by making its lifespan -1. * Replication queue configured via cache level attributes, and it's disabled by making the queue size negative. * Simplified thread pool configuration by avoiding to leak XML configuration details into programmatic API. In the programmatic version, just provide factories. * Fixed thread pool injection in server.