Fixed problems caused by changing scheme of Last Irreversible Block processing
- Implemented additional checks related to undo session processing, which previously lead to infinite recursion (now it throws in broken case).
- Since LIB change notification can be now fired from push-transaction phase, AH-RDB data dump to persistent storage has been extended, to separate changes comming from block (expected) from those added by pending transaction processing (bad, should be skipped).
- Since LIB can be now even equal to head block, internal AH-RDB queries (assuming that previously LIB always was less than head block) should be adjusted accordingly