ISPN-4670 Non-indexed query performance

Refactor object-filter package to avoid many performance hot spots

Jira: https://issues.jboss.org/browse/ISPN-4670
https://issues.jboss.org/browse/ISPN-4700

I don't want to overoptimize, but in this case indexOf(int ch, int fromIndex) would reduce the need for copy with substring