Implemented autotools based build scripts

supported options:

--with-dependency-search=DIR    will tell configure to look for various
dependencies in DIR/include and DIR/lib

Alternatively you can also specify libsodium header and libs location
with --with-libsodium-headers and --with-libsodium-libs if it is
installed elsewhere.

Ncurses and libconfig is handled via the default pkg-config way, see
./configure --help=short for detailed information.

The cmake build still works.
Implemented autotools based build scripts

supported options:

--with-dependency-search=DIR    will tell configure to look for various
dependencies in DIR/include and DIR/lib

Alternatively you can also specify libsodium header and libs location
with --with-libsodium-headers and --with-libsodium-libs if it is
installed elsewhere.

Ncurses and libconfig is handled via the default pkg-config way, see
./configure --help=short for detailed information.

The cmake build still works.
Fixed messenger_test includes