sanitize the queries parameter
the 'db' test always returns an object and the 'queries' test, an array
Merge pull request #741 from kpacha/fix-php-phalcon-queries-test-validation

Fix the php-phalcon queries test validation