Enable and run clang-format; add gitignore
Care had to be taken to exclude actual templates, because clang-format tries to break ${templated} chunks like this:
- %{APPNAME}Window *window = new %{APPNAME}Window;
+ % {APPNAME} Window *window = new % {APPNAME} Window;