Fix creating pull request comments.

commitId needs to be the commit SHA, not the object SHA.
Clarify object SHA vs. tree SHA.

Use only a single intent extra for the latter; and fix some more object
vs. tree SHA mixups.
Fix event refresh behaviour.