Correct rendering of C_PRIMITIVEs (forgot to utf-convert
Correct header comments / licence.
Correct tab visual rendering and refreshing when populate with new archetype, change flat <=> diff view.
Add ELEMENT_SLOT icon.
Update comments dADL => ODIN.
Initial support for second-order tuple constraint:

- add C_ATTRIBUTE_TUPLE and C_OBJECT_TUPLE types, currently only for primitive types.
- convert C_DV_ORDINALs and C_DV_QUANTITYs at parse stage to their C_COMPLEX_OBJECT equivalents, with tuple contraints as per 'power syntax' page on openEHR wiki.
- move type substitutions to AOM profile file
Small refactoring of definition 'local'.
Further development of tuples. Parsing and dislay working.

TODO:
- merge C_PRIMITIVE_OBJECT and C_PRIMITIVE
- add smart serialisation / rendering behaviour to coded terms in C_TERMINOLOGY_CODE to replace custom serialisation / rendering from C_CODE_PHRASE.
Merge C_PRIMITIVE_OBJECT and C_PRIMITIVE

Remove C_DOMAIN_TYPE and subtypes except for C_DV_QUANTITY which is needed as legacy for 1.4 archetypes.
Remove C_DOMAIN_TYPE procesing from all C_VISITORs.
Remove C_DOMAIN_TYPE procesing from P_ classes.
Final main changes to support serialisation and rendering of tuple constructs.
Fix missed structural assembly in C_DV_ORDINAL legacy code.
Correct a bug that was preventing flat form file being edited from UI.
Add openEHR test schema to openEHR AOM profile.
Correct AOM profile processing.
reasonable version of valid_value for various C_PRIMITIVE_OBJECTs, for now.
Merge branch 'c2o'