Adds feature: get a diff via API.
Merge pull request #4892 from Aigeruth/feature/api-add-diff

Feature: get the diff of a commit via API.