now returning URL instead of objects whenever possible 

- uniformed getting entity type URL in IAttributeDef
- IAttribute.getAttributeDef now becomes getAttributeDefURL