Reset handlers queue after finished replaying events
Reset handlers queue after finished replaying events

Holding on to an array of CustomEvents can leak memory across page refreshes in
Chrome: https://crbug.com/529941

Fixes #2452

Polymer/polymer,elkamel/polymer,jordanyaker/polymer,filaraujo/polymer,JeremybellEU/polymer,elkamel/polymer,ktiedt/polymer,HiWong/polymer,mgiuffrida/polymer,simo97/polymer,yforrest/polymer,simo97/polymer,ikeagold/polymer,Endika/polymer,gazal-k/polymer,akintoey/polymer,mgiuffrida/polymer,jscissr/polymer,tjsavage/polymer,ikeagold/polymer,YOTOV-LIMITED/polymer,dalong123/polymer,jordanyaker/polymer,elkamel/polymer,kristianmandrup/polymer,tjsavage/polymer,ktiedt/polymer,jscissr/polymer,ktiedt/polymer,kristianmandrup/polymer,filaraujo/polymer,MartinMoizard/polymer,gronke/polymer,JeremybellEU/polymer,JeremybellEU/polymer,itnirmaan/polymer,ikeagold/polymer,Polymer/polymer,tekjava/polymer,itnirmaan/polymer,MartinsThiago/polymer,gronke/polymer,tekjava/polymer,MartinsThiago/polymer,exlerdesigns/polymer,tjsavage/polymer,kristianmandrup/polymer,gazal-k/polymer,MartinMoizard/polymer,dalong123/polymer,akintoey/polymer,jordanyaker/polymer,gronke/polymer,exlerdesigns/polymer,akintoey/polymer,gazal-k/polymer,simo97/polymer,yforrest/polymer,dalong123/polymer,exlerdesigns/polymer,itnirmaan/polymer,mgiuffrida/polymer,Endika/polymer,MartinMoizard/polymer,yforrest/polymer,HiWong/polymer,YOTOV-LIMITED/polymer,MartinsThiago/polymer,filaraujo/polymer,YOTOV-LIMITED/polymer,tekjava/polymer,Endika/polymer,jscissr/polymer,Polymer/polymer,HiWong/polymer