Feature/api queries star share modal

https://www.openproject.org/work_packages/8227
does this work in JS?

``return query.starred ? QueryService.unstarQuery() : QueryService.starQuery();``