optimized ko.utils.arrayIndexOf for old browsers

implemented using the shim from the mdn
https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/indexOf
as template