Tests: Fix all compilation issues

Also add test mode for settings.

Tests do not pass yet.
CodeGen: Fix casing settings

Types default to UpperCamelCase.
Properties default to lowerCamelCase.
Default XML comments are not affected.

Fixes unit tests.
Tests: Apply proper settings for compilation tests