Refactor: add Entry struct to abstract away key-value pairs
Refactor: add Entry struct to abstract away key-value pairs

And add `const` and `private` where appropriate.

(cherry picked from commit Level/leveldown@576d1355ac07d012c584aa42c98f893c5256573f)

Level/rocksdb,Level/rocksdb,Level/rocksdb