common.c remove the journal and unused functions

The journal allowed to log all the events to replay an engine session later.
I have never seen it used and it relies on the engine being sequential so it
won't work with the upgraded engine.