Updated Model::__set check whether value is object
Merge pull request #2335 from dreamsxin/model_updated

Updated Model::__set check whether value is object for 2.0.0