mod_muc_log: major code refactor and simplification,
- Only handle messages and drop all the rest
- Remove all the clutter and string riff-raffing to compose entries
- Change the data entries objects so we won't need to use the evil LOM parsing
in mod_muc_log_http.
mod_muc_log_http: reflect changes to mod_muc_log and simplify majorily as well,
- Remove handling of Presences and IQs
- Remove LOM Parsing as this uses an awful amount of RAM
- Use much simpler objects for entries
- Remove unused theming bits.
mod_muc_log: we should get the text of body and subject.
mod_muc_log: and we shall make sure we have a body or a subject...
mod_muc_log: import ripairs and add the origin full jid to entry objects.
mam.lib, muc.lib: make sure a rid is set or fun things will happen.
mod_muc_log: add XEP-308 support, change entry objects a little.
mod_muc_log: correct variable name.