Checkout removes ignored directories - WIP

This PR (based off of @nulltoken's updated LibGit2Sharp PR), includes a test showing that checkout removes ignored directories. This PR is just to demonstrate the issue, I will clean up test before it is ready to be merged.

The last commit contains the actual failing test (the other commits are the proposed updates to LibGit2Sharp)

/cc @arrbee