Check for Array.isArray first and only fallback if doesn't exist to a shim

Adding a [small perf test](http://jsperf.com/object-tostring-vs-array-isarray).