ENYO-3552: Add to capture API for optionally declaring whitelist of events to capture

ENYO-3552: Add to capture API for optionally declaring whitelist of events to capture (which makes the blacklist noCaptureEvents irrelevant).  Update popup to only register the two events it really cares about capturing (down, tap).  Also moves the capture filtering code to an API that can be called externally, for selectively subjecting custom events to the same capture code, since right now only DOM events are subject to capture.

DCO-1.1-Signed-Off-By: Kevin Schaaf <kevin.schaaf@lge.com>