Specs for most modules in ejabberd (not all)

https://github.com/esl/MongooseIM/pull/189

mod_offline, mod_privacy had some obscure merge errors which are resolved now. If those files are found to be broken, I will have to respec them based on master again.