Enhancement: allow plugins to hook into contextmenu

- small bugfix for not having "rightbar" in plugin.json
- plugins are allowed to hook into the end of the contextmenu