Inline result context menu

Update inline result behaviors to allow plugins to more easily extend the context menu.