Version 4

- If there is a toArray() function in the environment then this function is used for array conversion
- When an Object does not support _toArray() - we run get_object_vars() on it
- Added tests for Object comparison against arrays