revise leveldb parser. add chainstate parser.
misc fixes.
do not use LDB_TX.