MODE-2030 Fixed the update of indexes for child nodes when the parent node is moved/renamed.
Also, replaced uses of JcrTools#printQuery in tests with simple query execution & asserts, because of the performance penalty.