libedit 3.1

Libedit is a non-GPL replacement for the readline library.

Some people can't ship with readline because of licensing reasons.

Closes #341.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>