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>
ENYO-3552: Add flag to captured events, to simplify filtering captured events from normal events.
DCO-1.1-Signed-Off-By: Kevin Schaaf <kevin.schaaf@lge.com>
ENYO-3552: Revert a bit of the capture changes, to remove the captureFilter API, as we've found a way to route custom events through the normal dispatcher path, with the minor addition of a flag to check to determine whether to prefix event names with "on" or not.  Also change capture to call a callback to notify the captureTarget of captured events, rather than using the normal bubble path.  Update enyo.Popup to use these changes.
DCO-1.1-Signed-Off-By: Kevin Schaaf <kevin.schaaf@lge.com>
ENYO-3552: Unconditionally call release, to ensure capture is released even if the showingChanged is delayed due to an animation.
DCO-1.1-Signed-Off-By: Kevin Schaaf <kevin.schaaf@lge.com>
ENYO-3552: Going ahead and making inEvents capture whitelist required (no more noCaptureEvents blacklist), and reordering parameters in the API to be more intuitive.
DCO-1.1-Signed-Off-By: Kevin Schaaf <kevin.schaaf@lge.com>
Merge pull request #561 from enyojs/ENYO-3552-kevinpschaaf

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