[BUGFIX] Allow non-numerical keys for doctrine event listeners
The schema for the doctrine event listener configuration was of
type array, which only allows for numerical keys.
Since non-numerical keys are needed to able to unset specific
event listeners the type is changed to dictionary.
Releases: master, 2.2, 2.1