Removed mod_mam_muc_mnesia_dirty_invitation.
Added simple MAM lookups.
Updated lookup_messages in writers.