bookmarks: fix update of the current bookmark during rename
We need to get rid of the previous bookmark after changing current bookmark.
test-highlight: fix test output (introduced by
2151703e7f84)
eol: rename hook into checkheadshook, add checkallhook (
issue2665)
"hook" is still an alias for "checkheadshook".
eol: make the hook check all new heads, not only tip (
issue2666)
Report and test by Antoine Pitrou <solipsis@pitrou.net>