Helpers: Fix array check not working for components loaded by setSource()

When the array comes from another JS context, as is the case when
using eval() in ComponentLoader.setSource() isinstance Array returns
false even if it is a proper array.
Merge pull request #265 from jonnor/fix-array-check

Helpers: Fix array check not working for components loaded by setSource(...