Minimal changes to the CMakeList for modern compilers (e.g. actual GCC)
- Set the C++ version to 98, (default is usually 11)
- Solve some warnings
- Mute most of the new warning (with a TODO comment) to be addressed with time.
- Improve detection of MySQL library
- Fixed a bugged unit-test, which was failing only with newest Gcc versions.