Moved setting _hasCaptured flag (enyo.Popup) to capture and release helper methods

Experienced issues where popups released without adjusting flag, causing double-releases. This should correct things until we update to Enyo 2.3