A really generic way of adding menupoints to a context menu.