ENYO-523: When leaving the ContextualPopupDecorator, check if we're in pointer mode or not.
Also, incidental automated trailing whitespace clean-up.

Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>
Merge pull request #1775 from enyojs/ENYO-523-blakestephens

ENYO-523: Leaving the ContextualPopupDecorator checks pointer mode

Reviewed-By: Ryan Duffy (ryan.duffy@lge.com)
Integrated-By: Aaron Tam (aaron.tam@lge.com)