very rudimentary handling of arrays

the array parser is heavily inspired by what psycopg does, but ported to
PHP/Zend semantics.

For now, this only deals with text[]. The next step is to find a clean
way for dealing with the various array types (and casting the types
correctly)