Add git_diff_get_stats()

This commit adds `git_diff_get_stats()` as well as functions to query the
stats for insertions, deletions, and changed files.