* #38608: first implementation of history database

History is now stored in a lightweight ORM database.
Corners cases are still not treated, but simple calls are saved properly.
9 files changed