Refactored xmppAuth service to make it modular

* setXmppBasePath method to set base url
* sendMessage takes thre parameters now , userid, to_jid, message
Merge pull request #1 from aregee/feature/coderefactor

Refactored xmppAuth service to make it modular