Improvements to delegating discussions in a merge request to a new issue

In gitlab-ce!7180 I implemented a first iteration for moving discussions in a merge request to a new issue based on the discussion in gitlab-ce#23589.

Some things still need to be addressed:

Edited by 🤖 GitLab Bot 🤖