Get rid of some unnecessary casts
WebHistoryController: Move ref deletion to RefController
That's why it's there, after all. This also makes the system
more robust and catches some more errors.
The next thing this enables is to also allow right-clicking
on refs in the commit list.
HistoryView: Allow dragging of refs to move them
WebControllers: Refactor to use common code
HistoryView: Add copy behaviour in commit list
This copies text like:
2e7cd52 (Remember selected view (history or commit))
to the pasteboard on command-c
Allow hunk navigation by using j/k keys
Allow scrolling of the webView by pressing space