Some missing oid to id renames
Make submodule fetchRecurse match other options

This removes the fetchRecurse compiler warnings and makes the
behavior match the other submodule options (i.e. the in-memory
setting can be reset to the on-disk value).
Misc cleanups
Some fixes for Windows x64 warnings
Reorganize zstream API and fix wrap problems

There were some confusing issues mixing up the number of bytes
written to the zstream output buffer with the number of bytes
consumed from the zstream input.  This reorganizes the zstream
API and makes it easier to deflate an arbitrarily large input
while still using a fixed size output.
Expand zstream tests and fix off-by-one error
Defer zstream NUL termination to end

And don't terminate if there isn't space for it (since it's binary
data, it's not worth a reallocation).
Merge pull request #2091 from libgit2/rb/cleanups-123

Fix errors with zstream (and a variety of other cleanups)