Feature/automatic menu item updates

https://www.openproject.org/work_packages/11934
@myabc Anything else which looks unacceptable? Btw on the fifth run Travis accepted this PR