Add a clang-format configuration file
This ensures that IDEs such as CLion automatically use the correct
indentation, and running git-clang-format
results in patches that are
actually quite close to the current style. It doesn't handle alignment
of parameters in function declarations, but otherwise it seems accurate.