RecordCollections keeping references up-to-date through add() and remove()
Changed Relation for updating record references
Fixed Relation::setReferenceFor() when exchanging a collection for OneToMany-relations
little cleanup of Relation class