Refactor exercise participants assignment, implement copy assignment See merge request inject/frontend!347