EZP-20684: added default configuration for REST bundle
EZP-20684: introduce RestEvents class
EZP-20684: simplify legacy bundle RestListener to be triggered by custom event
EZP-20684: dispatch custom event after CSRF token is validated
EZP-20684: remove hardcoding for configuration