added missing required parameters and use HEAD in `git blame`

Two bugs:

* Github API interface has been changed in V3, added missing parameters
  - note in `/Authorizations`
  - sha in commit api
* git blame with no giving any revision will perform 000000000000000000 as author not committed yet if the commit didn't exist in current branch.