Remove +x from nodegit.js
Added all test files and did some refactoring