clang-complete: do the compilation in the buffer directory
Add an 'insert_hide_sel' option, which hides selection when inserting
BufferCompleter: fix backward looping in completion candidates
CommandManager: fix some crashes
BufferCompleter: preserve completions when inserting

try to narrow matches with entered prefix
NCurses: draw a scroll bar
Editor: fix select(Selection&, SelectMode::Replace)
user defined hooks can access the hook parameter in shell with $kak_hook_param
Add a RuntimeError hook called when a runtime_error exception is catched at client level
Update README, add hooks list