ejabberd_cowboy improvements and mod_muc_log bugfix

First commit fixes a bug in mod_muc_log when the plaintext output format is used.

Second commit enhances the configuration options for ejabberd_cowboy to allow it to be used for additional use cases.

Third commit provides an example for configuring a static file web server via the ejabberd_cowboy module.

Thanks!