Fix loading of attribute-model association from files.
These 2 changes provide defense in depth against associations read from files when no model manager is specified:
- First, the
ResourceSetLoadernow has a constructor that allows you to specify a model manager.
- Second, if
EntityRefobjects with a null model manager are created at load time and then a reference model manager is set on the attribute system, use that model manager when returning values.