Add a doSendWithCallBack method

Hooks into the angularjs promise mecanism to send commands to the weechat
realy.