Move dependency scanning reports logic for the Merge Request widget to the backend - frontend part

Sub issue created for #12005 (closed)