crerate escript for config generation

config template is rel/files/ejabberd.cfg
variables are taken from rel/vars.config