[api] fix diffing using versioned project links (issue #754)

We do still lack test cases and api commands for versioned project links ...