Bug 1101542 - [Rooms][DB] Create interface to connect DB and the rest of the code r=crdlc, frsela