Refactoring / rationalising names in validator and flattener code
Remove useless dialog after repo Git pull operation.
Simplify logic of slot checking
Add do_if C_ITERATOR variant
Upgrade CIMI AOM profile to match newer RMs
Correct phase 2 validator to do some checks on added subtrees in specialised archetypes.

Improve flattener logic.