Reformats the entire codebase. Better to do it now than later. Adds .clang-format and a convenience script format_all.sh which formats everything automatically.
Fixes lots of dubious variable shadowing.
Rename to coincide with moving the project to KhronosGroup.