Upgrade logic of use_node flattening over inheritance to assume node-ids are always present on all nodes.
Small refactoring on AOM_VALIDATOR classes

Finish rename of all ARCHETYPE_INTERNAL_REF classes and features to C_COMPLEX_OBJECT_PROXY
Make C_COMPLEX_OBJECT_PROXY ids mandatory.