Array extension: add the 'sum' filter

Add the ``sum`` filter based on ``array_sum`` php function.
Add unit tests.
Update doc.