Use Ext.Array.indexOf not Array.prototype.indexOf.

This is especially important for e.g. IE 8, where the native array does
not have the indexOf method.
Merge pull request #174 from marcjansen/index-of

Use Ext.Array.indexOf not Array.prototype.indexOf.