Allow multiple resources for the same JID in a MUC room

Implementation of esl/MongooseIM#240
Can be performed in one ?DICT:fold call.