Support sparkey_logiter_valuecmp and API changes.

Depends on the merge of https://github.com/spotify/sparkey/tree/krka/experimental_diff.