[WIP] Fix/13573 wiki toolbar entry

This is a WIP PR just now. I still have to watch (and add) tests.

Fixes: https://www.openproject.org/work_packages/13573

When saving a work package query under a new name (and the old query was starred), the new querry was starred but didn't get a menu item.
Use the new Ruby 1.9 hash syntax.<br>Prefer single-quoted strings when you don't need string interpolation or special symbols.