Added MAM hooks.
Added option "new_message_ids" for mod_mam_dump:restore_dump_file/3.
Added MAM metrics.