mod_admin_extra fixes for ejabberd 13.10

fix send-message-chat and send-message-headline commands to work on ejabberd 13.10