Collection.RefsTo and bugfix

- added Collection.RefsTo attribute type for collection of model ids.
- fixed defect (.parse for nested models doesn't work)