Support custom key extractors for indexes

Not yet ready for merge: this currently just changes the `WT_EXTRACTOR` API to allow for multiple keys.
I see that hasn't changed since the original APPLY_IDX macro, so I guess it's safe.