Support varargs in concat() in StatefulArray, fixes #16629.

Fix for [#16629](http://trac.dojotoolkit.org/ticket/16629)