ENYO-442: Add a method to temporarily suppress events for a given set of code.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>