ENH: Changing Association Widget to use Resource Link System
- Also made ReferenceItemDefinition's setRole method protected and made Definiiton a friend so it could use it
- Updated qtModelEntityAttributeView to also use the Resource Link System
- Added attributes() methods to both attribute::Resource and attribute::definition to return attributes asscoiated with a persistent object