crude linenoise integration

Next step is to separate REPL code into shell.cpp and shell-commands.cpp. Add argp support, script mode and version encoding util functions.