Change the handling of the copy/paste function for variants. If a varbase is pasted after or into another item, the vargroup will be set to null. This should fix the problem with wrong vargroup ids.
Cleanup the code.
Use table parameter from url if present to determine correct MetaModel.
Change the handling with the label for the function "injectChildTablesIntoDCA"