setup file, simple readme
fixes by comments
fixed `DBHistory` behaviour

When manual flush was emitted inside rolledback transaction
the state of `DBHistory` was wrong.
Merged in setupfile branch from d1ffuz0r