Removed duplicate implementation of indexOf and moved lastIndexOf

* removed an unnecessary implementation of indexOf
* moved lastIndexOf to ember-metal/lib/array.js where it should be
* there are also duplicate implementations of both in native_array but I'll wait with consolidating those until it's decided whether lodash will be added since they are slightly different