[doc] adding some more doc and examples for lifecycle event listeners and subscribers

as requested in https://github.com/symfony/symfony-docs/pull/2301