Updating gitignore
Checking for c++11 support in project main
Cleaning the CMakeLists a bit