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

This updates the context-menu API to support e10s.
ignore this, i understand the reason now.. even if it wasn't exactly designed to be used like this, i don't think there is harm..