adjusted document implementor within codegen

now the correct dedicated namespace is used when building the default
document implementor class-names for aggregates and references.
adjusted namespace expansion within codegen