Add support for libgit2 filters

This PR adds support for ```libgit2``` filters. These are quite useful when one wants to do some "magic" / checks when a file is added to the index and/or checked out of the ODB.