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.
Fix superfluous colon after namespace.
Transform folder ui/ from C to C++.

Adjust all includes outside of ui/.
Transform folder parallel/ from C to C++.
Transform folder np/ from C to C++.
Transform folder low/ from C to C++.
Transform folder graphics/ from C to C++.
Transform folder gm/ from C to C++.
Transform folder dom/ from C to C++.
Transform folder dev/ from C to C++.
Transform folders ./ and lib/ from C to C++.
Clean-up after transformation from C to C++.

Transform forgotten folders dev/ps and dom/lgm/ngin2d.
Minor clean-ups.