Appending the Paginator tree walker hint, instead of removing all the other hints.
Added docblock.
Added a test which verifies that the tree walkers are kept.
Fixed name colision.
Merge branch 'DDC-2542' into 2.4