Fix const-correctness of git_patch_get_delta, git_patch_num_hunks, git_patch_num_lines_in_hunk
Add test files
Introduce git_diff_stats
Introduce git_diff_format_email and git_diff_commit_as_email