ISPN-4670 Matcher performance test
ISPN-4670 Matcher refactoring

Relocating some responsibility among classes to simplify their collaboration.
ISPN-4670 Replace Iterator of AttributeNode.children with array for faster iteration
ISPN-4670 Do not unsubscribe if executing in a single filter context

The cost of maintaining a map of unsubscribed predicates if high and it can only be amortised if there are many
filters (continuous query scenario). For the single query scenario we prefer not to maintain it at the cost of
having to deal with potential duplicate notification.
ISPN-4670 Use an array to store the FilterEvalContexts instead of a HashMap

The HashMap lookup was a heavy hot spot.
ISPN-4670 Avoid double lookup in known types hashmap
ISPN-4670 Replace map of unordered predicates with list
ISPN-4670 No longer keep track of suspended PredicateNodes in MatcherEvalContext

It's enough to keep just the unsubscribed Predicates. Eventual duplicate notifications are easily coped with.
ISPN-4670 Move isRepeated flag from PredicateNode to Predicate

This is the first step to simplify and optimize subscriptions
ISPN-4670 Move PredicateIndex.PredicateSubscriptions to Predicates.Subscription
ISPN-4670 Remove unused return type of BENode.handleChildValue
ISPN-4670 Only repeated predicates really need to be unsusbscribed
ISPN-4670 Refactor Predicate/Predicates to not use IntervalTrees for the single-filter scenario

* Usage of IntervalTrees is beneficial only when we have many predicates, like in the continuous query use case but it slows things down in the single-filter scenario.
* IntervalTree now requires the interval bounds to be Comparable
ISPN-4700 Optimize non-indexed DSL 'like' queries

java.util.regex.Pattern is not very efficient in handling some of the trivial regexps
that can be replaced by simple string operations like contains, startsWith, endwith, equals.
Ignored performance tests
ISPN-4699 Non indexed query fails when a cachestore is used

* add new tests to cover this case
* FilterAndConverter.filterAndConvert should not fail if the value is null
* LocalEntryRetriever should use a MapAction configured with the appropriate converter
* need to use a proper collection for tracking the processed keys, one that takes Equivalence into account
ISPN-4711 Remoted commands to a dead master node can be re-forwarded to a valid backend
ISPN-4712 Mutable SearchFactory needs to be passed new types exclusively
ISPN-4713 Reject incoming Query RPCs on stopped and being-shutdown caches
ISPN-4714 Improve logging to trace IndexManager's lock promotion phases