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.
Does this work? I think you will have so split this into two indexes:

```rst
.. index::
    single: Events; Create listener
    single: Events; Create subscriber
```