Extract out zlib module out of git.js

Remove zlib module from git.js. The idea is to move out code module by
module from git.js, and either write dart wrapper, or re-write in dart.

@devoncarew PTAL thanks.