Raw.xs: giterr_last() may return NULL

Try to use ERRSV if the error code cannot be provided by libgit2 i.e.
its a user generated error code.
Added support for Git Filters
Added filter documentation
Changes: update
TODO: remove filter