shell: Track objects instead of event hints.
shell: Track objects instead of event hints.

It's racy to attach event data to an global object
instead add version data to machines so we can track
emit events.

Closes #2328
Reviewed-by: Stef Walter <8a7fbf0f15d3ad982af54ef28f5c117d2494b76c@redhat.com>

fridex/cockpit,cockpituous/cockpit,sgallagher/cockpit,evol262/cockpit,cockpituous/cockpit,denysvitali/cockpit,moolitayer/cockpit,larsu/cockpit,andreasn/cockpit,deryni/cockpit,deryni/cockpit,Thermionix/cockpit,vanloswang/cockpit,vanloswang/cockpit,cockpit-project/cockpit,nmav/cockpit,cockpit-project/cockpit,fridex/cockpit,dperpeet/cockpit,mvollmer/cockpit,xhad/cockpit,mareklibra/cockpit,firebitsbr/cockpit,Thermionix/cockpit,sgallagher/cockpit,xhad/cockpit,FireDrunk/cockpit,zigitax/cockpit,stefwalter/cockpit,stefwalter/cockpit,netzvieh/cockpit,darioajr/cockpit,harishanand95/cockpit,maxamillion/cockpit,Thermionix/cockpit,larskarlitski/cockpit,jscotka/cockpit,nmav/cockpit,FireDrunk/cockpit,deryni/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,jscotka/cockpit,larsu/cockpit,maxamillion/cockpit,martinpitt/cockpit,SotolitoLabs/cockpit,mareklibra/cockpit,maxamillion/cockpit,Scribery/cockpit,michalskrivanek/cockpit,evol262/cockpit,denysvitali/cockpit,martinpitt/cockpit,Armstrong1992/cockpit,cockpit-project/cockpit,dperpeet/cockpit,vanloswang/cockpit,garrett/cockpit,darioajr/cockpit,zigitax/cockpit,darioajr/cockpit,harishanand95/cockpit,xhad/cockpit,moolitayer/cockpit,FireDrunk/cockpit,mareklibra/cockpit,Scribery/cockpit,andreasn/cockpit,mareklibra/cockpit,martinpitt/cockpit,xhad/cockpit,Armstrong1992/cockpit,andreasn/cockpit,nmav/cockpit,andreasn/cockpit,mareklibra/cockpit,larskarlitski/cockpit,harishanand95/cockpit,mvollmer/cockpit,netzvieh/cockpit,petervo/cockpit,evol262/cockpit,zigitax/cockpit,fridex/cockpit,michalskrivanek/cockpit,arilivigni/cockpit,matobet/cockpit,Thermionix/cockpit,larskarlitski/cockpit,deryni/cockpit,darioajr/cockpit,fridex/cockpit,cockpit-project/cockpit,vanloswang/cockpit,stefwalter/cockpit,xhad/cockpit,fridex/cockpit,firebitsbr/cockpit,moraleslazaro/cockpit,jscotka/cockpit,fridex/cockpit,jscotka/cockpit,sgallagher/cockpit,larsu/cockpit,harishanand95/cockpit,jscotka/cockpit,moolitayer/cockpit,evol262/cockpit,haiyangd/cockpit_view,evol262/cockpit,andreasn/cockpit,arilivigni/cockpit,evol262/cockpit,netzvieh/cockpit,matobet/cockpit,netzvieh/cockpit,larskarlitski/cockpit,netzvieh/cockpit,larsu/cockpit,larskarlitski/cockpit,firebitsbr/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,arilivigni/cockpit,cockpituous/cockpit,moraleslazaro/cockpit,matobet/cockpit,xhad/cockpit,Scribery/cockpit,petervo/cockpit,Armstrong1992/cockpit,cockpituous/cockpit,dperpeet/cockpit,SotolitoLabs/cockpit,nmav/cockpit,garrett/cockpit,michalskrivanek/cockpit,deryni/cockpit,moolitayer/cockpit,dperpeet/cockpit,moraleslazaro/cockpit,haiyangd/cockpit_view,SotolitoLabs/cockpit,Thermionix/cockpit,stefwalter/cockpit,mareklibra/cockpit,zigitax/cockpit,Scribery/cockpit,larskarlitski/cockpit,maxamillion/cockpit,maxamillion/cockpit,arilivigni/cockpit,denysvitali/cockpit,sgallagher/cockpit,Armstrong1992/cockpit,garrett/cockpit,vanloswang/cockpit,netzvieh/cockpit,mvollmer/cockpit,matobet/cockpit,stefwalter/cockpit,dperpeet/cockpit,denysvitali/cockpit,haiyangd/cockpit_view,michalskrivanek/cockpit,harishanand95/cockpit,haiyangd/cockpit_view,deryni/cockpit,larskarlitski/cockpit,zigitax/cockpit,sgallagher/cockpit,FireDrunk/cockpit,moraleslazaro/cockpit,Scribery/cockpit,vanloswang/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,martinpitt/cockpit,harishanand95/cockpit,Scribery/cockpit,jscotka/cockpit,vanloswang/cockpit,andreasn/cockpit,darioajr/cockpit,arilivigni/cockpit,michalskrivanek/cockpit,stefwalter/cockpit,firebitsbr/cockpit,denysvitali/cockpit,Thermionix/cockpit,dperpeet/cockpit,stefwalter/cockpit,petervo/cockpit,arilivigni/cockpit,mareklibra/cockpit,nmav/cockpit,larsu/cockpit,matobet/cockpit,petervo/cockpit,mvollmer/cockpit,cockpituous/cockpit,moraleslazaro/cockpit,Armstrong1992/cockpit,arilivigni/cockpit,andreasn/cockpit,larsu/cockpit,SotolitoLabs/cockpit,garrett/cockpit,petervo/cockpit,martinpitt/cockpit,SotolitoLabs/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,matobet/cockpit,Scribery/cockpit,moolitayer/cockpit,dperpeet/cockpit,sgallagher/cockpit,haiyangd/cockpit_view,deryni/cockpit,petervo/cockpit,FireDrunk/cockpit,petervo/cockpit,firebitsbr/cockpit,mvollmer/cockpit,garrett/cockpit,michalskrivanek/cockpit,xhad/cockpit