Fix ViewModel::setVariables with objects as vars
Fix ViewModel::setVariables with objects as vars

A typo in the check to cast objects to array accessible variables
caused the tests to pass, but causes problems with a set of
variables in an array to be casted to arrays.

samsonasik/zend-stdlib