Improve efficiency of `omit`.

Only iterate over `object` and array version of `callback` (`props`) once each instead of calling `indexOf()` on `props` in every iteration of `object`.