Remove reflection from the markup block in library code.

Make the reflection source-code based.

Previously the reflection was applied to markup languages but reflection is part of the Qt C++ spec and not markup so that reflection block should be removed from markup and made generic.