Added an aggregate for array_sum

Postgres does not support array_sum, need to add this functionality
myself.