Introduce git_diff_blob_to_buffer

The use case for this is for example if you have a text editor and you want to diff the buffer against HEAD.

See that this is a some kind of suggestion as I do not have enough time to make the unit tests, but please consider something like this for inclusion.