Indexof fix

Fixes `indexOf:` family where there were problem with `=` (primitives, `null`). There are still problems with `JSObjectProxy`, but that's more complicated matter and I will fill an issue for that.