xsd-fu: Add C++ enum templates
cpp: Generate and compile model enums
cpp: Add unit tests for model enums