elements: Changed PGCompositeElement to FunctionElement

Changing this to a function element fixes the missing FROM clause when
used in a select query.
test_types: Fixed ST_Dump() test
test_functional: Added first set of ST_Dump() tests