Add MathJax.Object.isArray() function, and change most instanceof Array to use it (unless the arrays are only going to generated by MathJax internals). Also add MathJax.Object.Array for making arrays of the Array type used by MathJax.
Resolves issue #1584 (closed).