Qualitygate name or rule name duplicates are not handled

If two or more quality gates in the same definition file or two or more rules of the same quality gate have the same name, the last one is used to evaluate the workflow, but there are no message to indicate it to the user.

We must add this message to the API request response.