Fix configure help for --disable-system-heap.
Git ignore autogenerated files.
Include config.h with < > instead of " " as it is no local header.
Get rid of redefined macro VERSION.
Transform folder tools from C to C++.

Add flags in Makefile.am to make all compile.
Transform folder ui/ from C to C++.

Adjust all includes outside of ui/.
Fix superfluous colon after namespace.