Support DboSource expressions as data values in Model saveAssociated

Check if $values is an object (before assuming it is an array) in saveAssociated. Objects are treated as "not empty" so that we can support DboSource expresssions as described in ticket #3978