Add get/insert functions for RoomInfo in the rooms db. Move 'bot joins room' code to single method, so we can also record a RoomInfo struct into the database.