Add proper cmake integration compile/test/debug commands

Moved from the global keybindings module to the c-mode module