improve ejabberdctl, and support different node names (thanks to Zach Calvert)(EJAB-1611)