indexOf and lastIndexOf simplifications

Doesn't seem like a performance regression but obviously still room for improvements

http://jsperf.com/underscore-indexof-compare/2
That gets goofy if `array` is `10`.