Replace bash-specific syntax in ejabberdctl

Use plain POSIX shell syntax to match ".yml" configuration file names.
This is also slightly more correct, as it matches ".yml" only at the
*end* of the file name.
Merge pull request #254 from weiss/replace-bashism

Replace bash-specific syntax in ejabberdctl