Return nil if indexOf fails

Rationale: 0, despite being an invalid array index, is still a valid key, and you can’t short-circuit off of 0 in Lua. Nil is more useful.
Clarify our goals in the README better