Add append_log to reference.
Merge remote-tracking branch 'xtao/reflog'
Make Reference.log_append signature more consistent

Consistent with the rest of the pygit2 API.