Add linenoiseAddHistoryCompletions

Adds function which makes it easy to add the history as
tab completions.

Usage example:

void completion(const char* buf, linenoiseCompletions* lc) {
    linenoiseAddHistoryCompletions(buf, lc);
}