Add .clang-format configuration file. Add a git hook to enforce formating of C file using clang-format.