Remove ncurses from the haiku_devel package

Besides that this version is very old, eventually we want to outsource
ncurses anyway.
Add ncurses optional package
Update gcc, ncurses, and nano packages
SetupEnvironment: Remove BELIBRARIES

It is no longer needed with the current gcc 2 package.
Update sqlite package
Update openssl package
Update sqlite package (fix pkgconfig)
Update required version of legacy compiler in configure
Update libxml2 package
Update mkdepend package
Update ncurses package

It now includes both the wchar and the non-wchar libraries.
Add libedit package
Fix copy and paste error in NCurses optional package section
Update packages libtool, texinfo, sed, tar
Update packages apr, apr_util, curl, flex, jam, libpcre and Pe.
Updated package for Pe (lpe symlink was borked).
packagefs: Fix deadbeef when using a file after package removal

When closing a file whose package had been removed,
PackageFile::VFSUninit() would crash due to calling Package::Close() on
an already destroyed Package object. PackageNode does now hold a
reference to the package between VFSInit() and VFSUninit().
Update cmake and libsolv packages
Update packages for CARootCertificates, curl, BePDF
Update BeBook package and fix URL of BePDF package.