All the XMPP functionalities for testing added.

Removed smack. Using asmack now.