Bug 1103999 - [Loop][Room] Create a 'Room' manager for handling connections with OpenTok

See bug https://bugzilla.mozilla.org/show_bug.cgi?id=1103999 please. Action happens at https://github.com/jaoo/firefoxos-loop-client/tree/1103999
Move this 2 lines to a separate function, due to this snippet is called several times