Changes slots now uses traits metadata instead of requiring setting the event
Created by: stefanoborini
Instead of having to attach a listener to traits that change the slots, we can simply give changes_slots
metadata to the trait so that it gets registered automatically
Fixes #102 (closed)