Out with LevelDB in with MapDB.

This also ousts EphemeralStore, because MapDB supports both on-disk and
in-memory operation. And there's the obligatory heap of other revamping.

There are still TODOs to be done, but some of the things work. Todobedobedo.