api: Handle ArrayObject like an array for request validation
Merge pull request #1237 from greezybacon/issue/1079

api: Handle ArrayObject like an array for request validation

Reviewed-By: Peter Rotich <peter@osticket.com>