Make setMark() be a toggle like in Emacs:

pressing Ctrl-Space once starts the selection extension mode,
pressing it again cancels that

This fixes #2339, [emacs] setMark() / Ctrl-Space is not a toggle