fixes #18233, #18235 - isolate pagelets state between tests
Moves pagelets state into instances of Pagelets::Manager with clearerdup semantics, and allows the instance to be backed up and restoredaround tests using the PageletsIsolation test case mixin.