Fix EZP-21929: eZOE searchreplace plugin interface is broken

JIRA: https://jira.ez.no/browse/EZP-21929

# Description

This issue is actually a regression introduced in https://github.com/ezsystems/ezoe/commit/c44396d (by me...) while fixing [EZP-18216](https://jira.ez.no/browse/EZP-18216). So this patch partially reverts https://github.com/ezsystems/ezoe/commit/c44396d to not break the searchreplace plugin interface (and othersp TinyMCE plugins) and properly fixes EZP-18216 instead.

# Test

Manual tests on searchreplace plugin and ezoe specific interfaces.