Completely unbundle libedit

FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
Require sqlite as a system dependency

This purges sqlite from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
Use the system version of APR / APR-util if possible

Autodetect whether the system libapr / libaprutil has our
necessary modifications and use it if it does.
FS-353: sqlite pkg-config path for mac homebrew
Lower required version of sqlite

We've really only tested 3.8.3.1, so you might want to consider using
that.  We'll lower this down to 3.7.13 for Debian wheezy.  Please
test.
Lower required version of sqlite for CentOS 6

Apparently CentOS 6 has only v3.6.20 of sqlite, so we'll accommodate
that barring evidence we shouldn't.  Please test and report back.
FS-5845: don't leak dbh in error conditions
FS-6402 mod_rayo/mod_ssml: add mutex to hashes now that iteration is no longer thread-safe
FS:353: correct #if check for libedit function capability
mod_mongo: switched from C++ to latest C driver
FS-6293 fix windows build from version.h being added to xmlrpc
FS-6293 windows duh
FS-6396 fix mod_silk builid on FreeBSD
Fix memory leak when outbound socket is closed by server

ESL-88 --resolve

Signed-off-by: Travis Cross <tc@traviscross.com>
FS-5845 more leaks found by mikej
seg--
initialize var
Deprecate mod_spidermonkey

We consider mod_spidermonkey to be completely replaced by mod_v8 (and
more generally by mod_lua) at this point.  We've barely supported
mod_spidermonkey for years.  Everyone should stop using it.

We're keeping this around for awhile in case people are relying on C
extensions to mod_spidermonkey and need time to migrate.  This module
may or may not be part of a v1.4 release depending on whether we find
anyone cares.  It definitely will not be part of the next release
after v1.4.
Follow mod_spidermonkey deprecation in debian/

It wasn't supported, and we weren't building it by default as it was.
hack harder