Rework aliases to avoid usage of libedit

While here remove all support for libedit, that make pkg and libpkg.so
not being linked to libedit and libncurses