Bug 1060138: Fix context-menu to work in e10s.

This updates the context-menu API to support e10s.
we should file this, even if we don't intend to fix right now, as it might be hard to debug later..