find completions' common prefix case-insensitively

Hi Judah, thanks for an awesome library.

This lets me do case-insensitive completion in hledger add. Otherwise haskeline truncates completions to their common case-matched prefix, which is often a short or empty string.