Prevent git_tree_walk 'skip entry' callback return code from leaking through as the return value of git_tree_walk
Fix memory leak in git_tree_walk on error or when stopping the walk from the supplied callback
Merge pull request #1849 from whavinga/treewalker

Treewalker
Add tests for git_tree_walk

This tests the fixes for issues from #1849