Restructurizing the client

Moved database related stuff from MyXmppClient to XmppConnectivity. Also
I broke typing notifications to see if it has any influence on Facebook
bug.