indexOf and lastIndexOf simplifications

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