lots of changes for 0.2.2

* write and cleanup the haddocks
* forkLevelDB
* runBatch & friends

minor refactor & bugfix