roomhistory: load old messages to history in batch
This improves the performence of old message loading. This passes all messages from a batch directly to the room history. Also this way the Internal AppOp loop isn't used and it makes sure that the lazy loading queue runs only once.