Collaboration Engine 3.2.1
Fix ordering between activation and deactivation
Use dispatch action for both so that they are carried out in the same order that they were triggered. Previously if the component was attached and detached during the same round trip, then deactivation happens before activation, which caused deactivation to be a no-op since the registrations to clear on deactivation haven't yet been created.