add concat filter

adding concat filter for arrays. it is very usefully and fix the issue #427
not sure if I agree with the flatten here... why is that?