Fix EZP-22767: ezscript_require not taken into account on modules
Merge pull request #833 from ezsystems/ezp-22767-ezscript_require_modules_controller

EZP-22767: ezscript_require not taken into account on modules