types: update for 10.4
The stats
associated with commit details is now optional because
the API endpoint gained an option to skip it. See gitlab-ce commit
v10.4.0-rc3~1^2~5
, which backports commit v10.5.0.pre~208^2
.
Also update our gitlab API client to request the stats
explicitly.
Later we could expose this option.