Add changes_slots event to the base model class.
Created by: stefanoborini
We want an event we can listen on so that when triggered it will force recomputing of the slots according to the current options. This will then be used by the UI to present the correct slots.
The user is responsible for triggering this event in the plugin model he writes. We expect this to be relatively uncommon, but a possible use case for those data sources that actually do change slots (both input and output) depending on some model values (e.g. configuration options).