models: cpp model was not regenerated

- fix cmake file to include it in codegen target
- minor tidy-ups in enumeration formatter
- regenerate cpp model with latest dogen