Bug 1101490 - Implement a new component for Rooms database management

I did this way to minimize the changes on the legacy code. This is only for the old call-log.

Agree we need to improve it, but to reduce the amount of changes in this big PR, I suggest to work with this into another bug. WDYT?