Implementing Event Dispatcher

For one of my projects, I needed to know when YAML files were updated, and have altered this bundle to use the event dispatcher to dispatch an event upon update. I have also moved the flash message setting into an event subscriber.