Github: Fix PHP system notices

- Undefined index: hub_app_access_token in api_uri()
  ==> added isset() check
- Undefined property: stdClass::$id in json_commit_changeset()
  ==> use 'sha' instead of 'id'