Refactoring: editing state is now a structure.
All functions commented.
README updated (we know have completion).
linenosePrompt() -> linenoiseEdit().
Refactoring: code split into sections. Chars insertion as a function.
More stuff on .gitignore
Refactoring WIP #1: split in functions.
Off-by-one overflow fixed. Was a silent bug before refactoring.