MODE-1859 - Fixed the removal of ModeShape services when a repository is removed. Refactored the general remove & recover operations, as they are very similar.
MODE-1854 - Fixed indexing during user transactions: previously, the indexing operations were submitted on a transaction in state COMMITTED, causing Hibernate Search to no see an active transaction.
MODE-1854 - Changes count should only be dispatched & statistics updated if the transaction is successful.
MODE-1842 - Added an integration test which uses a JDBC cache loader together with eviction
MODE-1676 - Added regression test case
Fixed Infinispan version in parent BOM (should be Final instead of FINAL)
MODE-1865 Test case to show non deterministic query results.
MODE-1865 Test case now fails much more likely (hopefully 100%).
MODE-1865 Fix for bug. Do not push down isExists query hint to join query contexts.
MODE-1865 Additional changes and fixes

The test case added in previous commits (for this issue) was not cleaning
up the 300 nodes it was creating and using for the queries, thus causing
failures in many subsequent tests. This was corrected, and the test case
simplified. The changes to QueryProcessor were also incomplete and did
not always return just one row when using "LIMIT 1", so this was corrected.
MODE-1878 Corrected determination of correct SNS child node definitions

When a node with a child is persisted, and then a new child node with the
same name as the existing child is added to the parent, and when the
parent node type contains more than one applicable residual child node definition,
ModeShape incorrected determined that no child node definition could be
found for the new SNS child.

Two new test cases were added to replicate this scenario, and the
validation logic was corrected.
MODE-1863 - Removed unnecessary computations when re-indexing is disabled.
MODE-1856 More improvements to reduce indexes of no-op property changes

Changed the algorithm in WritableSessionCache that persists changes
so that it more efficiently and correctly calculates whether a change
in a property is an effective change in the node that requires the
node to be indexed.
MODE-1856 Improved the performance of determining PropertyType from values

Changed the PropertyType.discoverType(...) logic to make it faster
given our existing implementation classes. Also added a test case
to verify behavior.
MODE-1856 Simplified comment, per review
MODE-1856 - Further improved the index update operation, by making sure only nodes with property changes or parent changes (which affect the path) trigger index updating.
MODE-1856 - Fixed index rebuild options in the AS7 subsystem.
MODE-1836 - Simplified the logic behind "run once system operation"
because the information about which node is performing the initialization
in a cluster was already present via the "isInitializingRepository" flag.
MODE-1836 - Added a workaround for https://issues.jboss.org/browse/ISPN-2974, which uses full deltas (instead of partial deltas) if eviction is enabled.
MODE-1836 - Disabled partial deltas entirely, until https://issues.jboss.org/browse/MODE-1875 is fixed.