stop ejabberd before stopping mnesia

http://chad.ill.ac/post/55193155663/easy-ejabberd-clustering-multi-master-fault-tolerant#comment-1006329870