Fix ejabberdctl suite and add mongooseimctl support