CMake: New build system

CMake now compiles cgame-rtcw.so correctly, I need to find the version number

Fix unix source includes, Added extractfuncs CMakeLists.txt file

Fix most of the cmake compile but a few tweaks are needed.

Fixed the reminder of the source files, game now successfully compiles on Ububtu linux but has not been tested