Renames for consistency

`sha` => `SHA` and `oid` => `OID`, with an exception on the latter when the parameter is a `git_oid` (like the `GTOID` initializer).
Merge pull request #217 from tiennou/rename-sha-oid

Renames for consistency