Moved all CMakeLists.txt out of main src tree

They are now in build/cmake, except for the root file