Deduplicate more code and remove dead code.
Switch to new Github bindings.

Those initialize the comment position to -1 if it isn't included in
JSON.
Don't show line comments in commit comment list.
Cleanup.
Fix editing pull request comments.