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

* incl. new init_internal_schema.sql script (+ generation via code)
@janpolowinski I think that the sub modules should be linked correctly right now in the master repo. maybe @knutwalker or @chrode can have a look at the issue here ;)