API - compare commits between 2 repository branches or tags

Add the possibility to get commits between 2 tags/branches via the API.