Link sqlite3(1) against libedit and add an empty history.h header forcompatibility with GNU realine.ok mikeb@, sthen@, espie@