Create a failing test where commit in mr creates a mr mention note.
Do not allow cross reference note in a mr if a mr contains mentioned commit.
Fix tests after change to regex validation message.
Merge branch 'master' into mentioned_inside_mr
Merge branch 'mentioned_inside_mr' into 'master'

Do not mention MR if commit is a part of MR

See merge request !1242