Updated Phalcon\Mvc\Model::toArray
adding yaml and unit test
Merge pull request #2944 from duythien/dev/yaml

adding yaml and unit test
Merge pull request #2866 from dreamsxin/model_toarray2

Updated Phalcon\Mvc\Model::toArray