EZP-21547: changed handling of content/view error headers

The headers are added to the module result, and sent to
the browser when rendering the result, cached or not.