Added Symfony event dispatcher as a dependency to composer.json.