Fixed all remaining Array.prototype.indexOf's to lib.indexOf.

All tests now pass on IE8, without the need for es5-shim.