Remove libedit, totally broken on reading the current buffer.
Instead switch to minimal, self-contained linenoise library.
Also remove unused cmake_config.h.
Switch fully to linenoise in caerctl.