Polyfill isArray
Merge pull request #23 from raytiley/isarray

Do not rely on Array.isArray or Array#indexOf