Refactor hook disabling in normal mode
Refactor hook disabling in normal mode

Normal mode takes care of keeping hooks disabled until nested modes
finishes.

Requiered form #818, not sufficient yet.

ekie/kakoune,jjthrash/kakoune,flavius/kakoune,Somasis/kakoune,lenormf/kakoune,jkonecny12/kakoune,occivink/kakoune,jjthrash/kakoune,jkonecny12/kakoune,ekie/kakoune,Somasis/kakoune,alexherbo2/kakoune,danr/kakoune,casimir/kakoune,jjthrash/kakoune,mawww/kakoune,casimir/kakoune,occivink/kakoune,alexherbo2/kakoune,danr/kakoune,lenormf/kakoune,jkonecny12/kakoune,jjthrash/kakoune,ekie/kakoune,Somasis/kakoune,flavius/kakoune,casimir/kakoune,flavius/kakoune,mawww/kakoune,mawww/kakoune,flavius/kakoune,casimir/kakoune,Somasis/kakoune,ekie/kakoune,mawww/kakoune,lenormf/kakoune,danr/kakoune,alexherbo2/kakoune,jkonecny12/kakoune,danr/kakoune,occivink/kakoune,lenormf/kakoune,alexherbo2/kakoune,occivink/kakoune