Added "How to create an event subscriber"

I've added the information about how to create an event subscriber to the "How to create an Event listener" cookbook recipe. I think that there isn't a recipe in the cookbook about that and it can be useful.
I don't understand why we show the code of this method and not the other ones.