more accurate array check. As a bonus, Array.isArray (if available) is faster
Merge pull request #10 from stefanpenner/fast-correct-is-array

improve isArray check