Some fixes to the _isArray function.

* Use the native Array.isArray function instead of contrsuctor
  string check
* + Unit test
Merge pull request #1 from pkallos/pk-isArray

Some fixes to the _isArray function.