Added a simple Array.isArray polyfill

For the benefit of basic and minimal Firefox 3.6 (and below?) support, which does not implement Array.isArray, a simple and small polyfill was added.