Wipe GestureManager state on context menu
Wipe GestureManager state on context menu

The context menu breaks the event flow: clicking outside the document to
close it means no mouseup is ever sent to the document. This change
wipes all GM state on contextmenu events, making sure it never gets into
a bad state.

foam-framework/foam,jlhughes/foam,jacksonic/foam,jlhughes/foam,jlhughes/foam,mdittmer/foam,jacksonic/foam,mdittmer/foam,osric-the-knight/foam,mdittmer/foam,osric-the-knight/foam,foam-framework/foam,foam-framework/foam,jacksonic/foam,foam-framework/foam,mdittmer/foam,osric-the-knight/foam,foam-framework/foam,jlhughes/foam,osric-the-knight/foam,jacksonic/foam