Add -[GTBlob applyFiltersForPath:error:]

Also included some methods for converting between `NSData` and `git_buf`, which is used extensively by libgit2 to represent chunks of data.

**To do:**

 - [x] Test the `NSData` category
I should clarify: if the buffer is not allocated dynamically, would it be better to resort to a copy instead of returning `nil`?