Fix rAF callbacks when in spurious mode.
Fix rAF callbacks when in spurious mode.

This fixes another rAF bug, that is being exposed by the previous
two commits. Previously, the fake timer callback would only be
set if we were being called from a non-rAF event handler.

Now, if we're in fake / spurious mode, unconditionally set the one
shot timer.

Otherwise, notify the compositor that animations are present if
we're not currently in a rAF callback.

paulrouget/servo,pyfisch/servo,ConnorGBrewster/servo,rnestler/servo,peterjoel/servo,avadacatavra/servo,notriddle/servo,szeged/servo,szeged/servo,ConnorGBrewster/servo,splav/servo,rnestler/servo,DominoTree/servo,KiChjang/servo,dsandeephegde/servo,saneyuki/servo,anthgur/servo,dsandeephegde/servo,DominoTree/servo,ConnorGBrewster/servo,mattnenterprise/servo,jimberlage/servo,KiChjang/servo,upsuper/servo,emilio/servo,saneyuki/servo,canaltinova/servo,emilio/servo,saneyuki/servo,splav/servo,canaltinova/servo,larsbergstrom/servo,cbrewster/servo,avadacatavra/servo,thiagopnts/servo,larsbergstrom/servo,eddyb/servo,cbrewster/servo,jimberlage/servo,canaltinova/servo,CJ8664/servo,nnethercote/servo,KiChjang/servo,peterjoel/servo,dati91/servo,larsbergstrom/servo,dati91/servo,sadmansk/servo,larsbergstrom/servo,SimonSapin/servo,upsuper/servo,upsuper/servo,paulrouget/servo,notriddle/servo,notriddle/servo,thiagopnts/servo,rnestler/servo,szeged/servo,anthgur/servo,nnethercote/servo,rnestler/servo,canaltinova/servo,KiChjang/servo,pyfisch/servo,thiagopnts/servo,thiagopnts/servo,avadacatavra/servo,DominoTree/servo,eddyb/servo,dsandeephegde/servo,saneyuki/servo,CJ8664/servo,szeged/servo,mattnenterprise/servo,jimberlage/servo,notriddle/servo,szeged/servo,fiji-flo/servo,nnethercote/servo,canaltinova/servo,SimonSapin/servo,DominoTree/servo,paulrouget/servo,avadacatavra/servo,eddyb/servo,upsuper/servo,jimberlage/servo,cbrewster/servo,pyfisch/servo,notriddle/servo,splav/servo,fiji-flo/servo,rnestler/servo,mbrubeck/servo,cbrewster/servo,peterjoel/servo,thiagopnts/servo,mbrubeck/servo,emilio/servo,anthgur/servo,peterjoel/servo,KiChjang/servo,peterjoel/servo,cbrewster/servo,SimonSapin/servo,pyfisch/servo,emilio/servo,canaltinova/servo,rnestler/servo,pyfisch/servo,avadacatavra/servo,DominoTree/servo,splav/servo,KiChjang/servo,paulrouget/servo,SimonSapin/servo,pyfisch/servo,mbrubeck/servo,mattnenterprise/servo,ConnorGBrewster/servo,jimberlage/servo,anthgur/servo,ConnorGBrewster/servo,eddyb/servo,szeged/servo,notriddle/servo,mattnenterprise/servo,splav/servo,SimonSapin/servo,paulrouget/servo,eddyb/servo,CJ8664/servo,szeged/servo,pyfisch/servo,CJ8664/servo,saneyuki/servo,avadacatavra/servo,KiChjang/servo,larsbergstrom/servo,nnethercote/servo,ConnorGBrewster/servo,larsbergstrom/servo,dati91/servo,notriddle/servo,paulrouget/servo,upsuper/servo,SimonSapin/servo,upsuper/servo,mattnenterprise/servo,dsandeephegde/servo,mbrubeck/servo,larsbergstrom/servo,fiji-flo/servo,mattnenterprise/servo,szeged/servo,jimberlage/servo,CJ8664/servo,thiagopnts/servo,upsuper/servo,dsandeephegde/servo,nnethercote/servo,KiChjang/servo,anthgur/servo,emilio/servo,dati91/servo,saneyuki/servo,notriddle/servo,ConnorGBrewster/servo,paulrouget/servo,splav/servo,larsbergstrom/servo,peterjoel/servo,dati91/servo,szeged/servo,mbrubeck/servo,pyfisch/servo,mbrubeck/servo,splav/servo,sadmansk/servo,fiji-flo/servo,sadmansk/servo,fiji-flo/servo,KiChjang/servo,anthgur/servo,saneyuki/servo,dati91/servo,cbrewster/servo,emilio/servo,CJ8664/servo,SimonSapin/servo,emilio/servo,pyfisch/servo,fiji-flo/servo,notriddle/servo,paulrouget/servo,sadmansk/servo,CJ8664/servo,mattnenterprise/servo,peterjoel/servo,nnethercote/servo,fiji-flo/servo,thiagopnts/servo,peterjoel/servo,anthgur/servo,nnethercote/servo,paulrouget/servo,DominoTree/servo,anthgur/servo,pyfisch/servo,mbrubeck/servo,saneyuki/servo,rnestler/servo,eddyb/servo,splav/servo,emilio/servo,sadmansk/servo,nnethercote/servo,jimberlage/servo,mattnenterprise/servo,saneyuki/servo,peterjoel/servo,saneyuki/servo,upsuper/servo,emilio/servo,eddyb/servo,SimonSapin/servo,larsbergstrom/servo,sadmansk/servo,sadmansk/servo,dsandeephegde/servo,peterjoel/servo,thiagopnts/servo,jimberlage/servo,ConnorGBrewster/servo,splav/servo,CJ8664/servo,notriddle/servo,cbrewster/servo,larsbergstrom/servo,KiChjang/servo,sadmansk/servo,cbrewster/servo,emilio/servo,dati91/servo,eddyb/servo,dati91/servo,rnestler/servo,canaltinova/servo,szeged/servo,DominoTree/servo,canaltinova/servo,DominoTree/servo,nnethercote/servo,DominoTree/servo,paulrouget/servo,nnethercote/servo,splav/servo,dsandeephegde/servo,avadacatavra/servo,DominoTree/servo,mbrubeck/servo,fiji-flo/servo,jimberlage/servo,dsandeephegde/servo,avadacatavra/servo