Encode empty values as empty in LSM trees.

refs #540, #966, #968.
Use empty values in LSM indices.

refs #540