implement possibility to select diff base in change viewer

- previous revisions or the change's base can be selected as
  a diff base
- comments in RevisionCommentSink are now linked to a
  revision as well as the change
- related to issue #22