LPS-49978 Automatic reference importing for DDL/DDM

Hey Brian,

Automatic reference importing for DDL/DDM.

@marcellustavares we have changed some stuff in the staging framework and we can automatically import references now for different StagedModelDataHandlers. This means less code in there, this pull is about refactoring some parts of them.

Thanks,

Máté