Create mod_mam.erl

Added mod_mam from https://github.com/kongo2002/ejabberd-mod-mam