start prepublishing generation
add default gitconfig user info to CI
fix invalid error code returns from tests
fix and add tests
Only test master and pull requests on appveyor
Merge pull request #310 from nodegit/fix-publishing

Appveyor seems to be randomly passing and failing this, with no real reason, so we've decided to merge this.