Core - Use native isArray method and deprecate AeroGear.isArray - AGJS-151

related to this JIRA https://issues.jboss.org/browse/AGJS-151