Adding short-circuit skip for indexing codecs.

Solves a perf problem where, if the index isn't enabled, it still spends a lot of time breaking up the Put/Delete, just for no work. This lets the codec specify if the indexing should even be attempted, on a per-mutation basis.