Import libedit 2016-02-27
This basically reverts r296500: there are many changes in the latest version and this intermediate step lets us save all the work done for the previous update.
Obtained from: NetBSD