Add autotools build system
add autogen.sh
Add headers declaration in Makefile.am
Add debug flag in configure script.
Remove old CMake config file (main only).