Revert "Changed cmake/modules/FindEditline.cmake to use BSD licensed software (not gpl)"

This reverts commit c298a1a8c05da2da1c784df43e7f66bff8581ab7.
Fixed memory leak in eq; added support for piping from stdin