EZP-22051: Implemented PreviewHelper

It now uses EventDispatcher to trigger actions to do when changing configuration scope (i.e. siteaccess).
This includes resetting legacy kernel instance to correctly inject settings for content preview(e.g. image settings).