Add CMake and binary directories to gitignore
Fix silly mistakes in version.{h,cpp}

libterra now builds succesfully.
Add CMakeLists.txt

Generates build files which build a lib/libterra.a library