Commit discussion API endpoints are not in the right namespace

The commit discussion APIs are at /projects/:id/commits/:commit_id/discussions whereas normal commit endpoints are under /projects/:project/repository/commits/:commit_id. Similar to #217412, new paths for the endpoints should be used and the old ones discouraged.