Bug 1110687 - RoomsDB: Return an array instead a cursor in getEvents method