indexOf and lastIndexOf simplifications

Doesn't seem like a performance regression but obviously still room for improvements

http://jsperf.com/underscore-indexof-compare/2