Add commit message conventions.
Update C++ coding conventions for enums.
Fix formatting.