Added GetDependentObjects method for reading objects to one2many property
Some refactoring in GetDependentObjects() method
Checked some cases of @object state and presence of "one2many" and "references" attributes
Added reading of all dependent objects before object returning