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

* incl. new init_internal_schema.sql script (+ generation via code)
It would be helpful to have a short explanation give some reasons for the replaceRelevantDummyIds method (in the super-class BasicResourceUtils)