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.

FabianKoestring/zend-view,FabianKoestring/zend-view,codeliner/zend-view,bfolliot/zend-view,Maks3w/zend-view,zendframework/zend-view,zendframework/zend-view,Maks3w/zend-view,ezimuel/zend-view,MadCat34/zend-view,codeliner/zend-view,bfolliot/zend-view,MadCat34/zend-view,ezimuel/zend-view