Issue #214: Cannot call TreeEntry() / IndexEntry()
Fix a couple of compilation warnings
travis: we are back to use libgit2's master branch