EZP-21118: Added CORS configuration provider

Overrides allow_methods based on the REST routes.