Create a table joining commit SHAs to MRs

We currently serialise the commits present in an MR version in the merge_request_diffs.st_commits column. This is fine for storing and rendering the commit objects for a single MR, but makes it hard to find:

If we had a table joining commits to MRs, or MR diffs, then we could query on it, which would help with: