ENYO-2689: Ensure queue and history arrays clears object references while clearing
ENYO-2689: Ensure queue and history arrays clears object references while clearing

PKRoma/enyo,enyojs/enyo,PKRoma/enyo,enyojs/enyo