EZP-22061: Refactored REST listeners

http://jira.ez.no/browse/EZP-22061

Splitted in 3 listeners, all tested:
- request
- response
- csrf