Simplify the context for operations in the LevelDB API: always open sessions for snapshots, and duplicate cursors for iterators, so there is no need to track whether the normal versions are in use.

While in the area, always reset cursors after Get operations: the data is copied out, so there is no need for the cursor to stay positioned.
Fix the installation of wrapper libraries (there was a problem with installation order).