sub schema (SchemaAttributePathInstance) domain model extension + test re-factoring

* incl. new init_internal_schema.sql script (+ generation via code)
maybe some notes on how to use this (when to uncomment) - or is this already happening in the wiki?