removed an unnecessary implementation of indexOf and moved lastIndexOf from native_array.js to array.js
refactored addArrayObserver and removeArrayObserver
moved arrayObserversHelper outside of the array mixin
Merge pull request #5248 from adamnemecek/observers

Refactored addArrayObserver and removeArrayObserver